{"_id":"@codemod.com/ast-grep-lang-json","_rev":"1-84b00e36b32eec97a1b057398cf578ae","name":"@codemod.com/ast-grep-lang-json","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@codemod.com/ast-grep-lang-json","version":"0.0.1","keywords":["ast-grep"],"author":"","license":"ISC","_id":"@codemod.com/ast-grep-lang-json@0.0.1","maintainers":[{"name":"codemod-release-bot","email":"npm@codemod.com"},{"name":"alexbit","email":"alex@codemod.com"},{"name":"mohebifar","email":"netfars@gmail.com"}],"dist":{"shasum":"78e54bd6ed8e72d51ffdd55394fe68f463d9842e","tarball":"https://registry.npmjs.org/@codemod.com/ast-grep-lang-json/-/ast-grep-lang-json-0.0.1.tgz","fileCount":16,"integrity":"sha512-z4YyVjZswuJgy4LGBt3CDovDUNw/F57Wx3+qSzrnvHygkjwiUpXSSEmCdBwCl0BaO2QigyVbiQ5wC3BGHGM2aQ==","signatures":[{"sig":"MEYCIQCbSVOo5io3RbqAjRJibrTivfscu9VCdqgz9s1IcRg69wIhALPggoQeqy3koU00o/vwmcJ8i9PprgrEfdmYNA7Y+jwc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135796},"main":"index.js","_from":"file:codemod.com-ast-grep-lang-json-0.0.1.tgz","types":"./index.d.ts","scripts":{"test":"node nursery.js test","build":"tree-sitter build -o parser.so","source":"node nursery.js source","postinstall":"node postinstall.js"},"_npmUser":{"name":"codemod-release-bot","email":"npm@codemod.com"},"_resolved":"/tmp/f5dafddbea9ad0f9faf5231da782e08f/codemod.com-ast-grep-lang-json-0.0.1.tgz","_integrity":"sha512-z4YyVjZswuJgy4LGBt3CDovDUNw/F57Wx3+qSzrnvHygkjwiUpXSSEmCdBwCl0BaO2QigyVbiQ5wC3BGHGM2aQ==","_npmVersion":"10.8.2","description":"## Installation","directories":{},"_nodeVersion":"20.18.2","dependencies":{"@ast-grep/setup-lang":"0.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tree-sitter-cli":"0.24.6","tree-sitter-json":"0.24.8","@ast-grep/nursery":"0.0.2"},"peerDependencies":{"tree-sitter-cli":"0.24.6"},"peerDependenciesMeta":{"tree-sitter-cli":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/ast-grep-lang-json_0.0.1_1738394776149_0.015135042710808344","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@codemod.com/ast-grep-lang-json","version":"0.0.2","description":"## Installation","main":"index.js","keywords":["ast-grep"],"author":"","license":"ISC","dependencies":{"@ast-grep/setup-lang":"0.0.3"},"peerDependencies":{"tree-sitter-cli":"0.24.6"},"peerDependenciesMeta":{"tree-sitter-cli":{"optional":true}},"devDependencies":{"@ast-grep/nursery":"0.0.2","tree-sitter-cli":"0.24.6","tree-sitter-json":"0.24.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"build":"tree-sitter build -o parser.so","source":"node nursery.js source","postinstall":"node postinstall.js","test":"node nursery.js test"},"_id":"@codemod.com/ast-grep-lang-json@0.0.2","types":"./index.d.ts","_integrity":"sha512-UidCmREwNbd6fGoaZQIg+AThPVYFpmp2cyp9vqoTAo9KH31sqyl2RR3hwDKnQzpISXDz42eJgLUN5k+PEBVUyw==","_resolved":"/tmp/496111b0f161438a28afdfebfe64ae08/codemod.com-ast-grep-lang-json-0.0.2.tgz","_from":"file:codemod.com-ast-grep-lang-json-0.0.2.tgz","_nodeVersion":"20.18.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-UidCmREwNbd6fGoaZQIg+AThPVYFpmp2cyp9vqoTAo9KH31sqyl2RR3hwDKnQzpISXDz42eJgLUN5k+PEBVUyw==","shasum":"379e6d211725e064b46eb2c96190ce2b1c9bfb40","tarball":"https://registry.npmjs.org/@codemod.com/ast-grep-lang-json/-/ast-grep-lang-json-0.0.2.tgz","fileCount":16,"unpackedSize":135796,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFsTtzw95AHRy6hIV8ou6EsuFdAfSAOamALoyeXjmn9gAiBwMKXJa0wBmJwXwVoGwpJNCiDeNS2Xjdus/++j9n3TJA=="}]},"_npmUser":{"name":"codemod-release-bot","email":"npm@codemod.com"},"directories":{},"maintainers":[{"name":"codemod-release-bot","email":"npm@codemod.com"},{"name":"alexbit","email":"alex@codemod.com"},{"name":"mohebifar","email":"netfars@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ast-grep-lang-json_0.0.2_1740524470460_0.4206948053816466"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-01T07:26:15.978Z","modified":"2025-02-25T23:01:10.806Z","0.0.1":"2025-02-01T07:26:16.309Z","0.0.2":"2025-02-25T23:01:10.620Z"},"license":"ISC","keywords":["ast-grep"],"description":"## Installation","maintainers":[{"name":"codemod-release-bot","email":"npm@codemod.com"},{"name":"alexbit","email":"alex@codemod.com"},{"name":"mohebifar","email":"netfars@gmail.com"}],"readme":"# ast-grep napi language for json\n\n## Installation\n\nIn a pnpm project, run:\n\n```bash\npnpm install tree-sitter-json\npnpm install @ast-grep/napi\n# install the tree-sitter-cli if no prebuild is available\npnpm install @tree-sitter/cli --save-dev\n```\n\n## Usage\n\n```js\nimport json from 'tree-sitter-json'\nimport { registerDynamicLanguage, parse } from '@ast-grep/napi'\n\nregisterDynamicLanguage({ json })\n\nconst sg = parse('json', `your code`)\nsg.root().kind()\n```\n","readmeFilename":"README.md"}