MCPcopy Index your code
hub / github.com/aiscript-dev/aiscript / gen-pkg-ts.mjs

File gen-pkg-ts.mjs

scripts/gen-pkg-ts.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { readFile, writeFile } from 'node:fs/promises';
2
3const pkg = JSON.parse((await readFile('./package.json', 'utf8')));
4await writeFile('./src/pkg.ts',

Callers

nothing calls this directly

Calls 2

stringifyMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected