{"versions":{"0.0.2":{"name":"@ast-grep/lang-json","version":"0.0.2","description":"## Installation","main":"index.js","keywords":["ast-grep","ast-grep-lang"],"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.3","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":"@ast-grep/lang-json@0.0.2","types":"./index.d.ts","_integrity":"sha512-ez1tobrvtyIbfgZuofZ06Pz1yF6jlu2G202KTqkpbUv2qiWvqei+lQtv6mcMGUG4cVjWJnO4KAkbysqcD5qPBQ==","_resolved":"/tmp/37716f24bc3417f940c142f15e368040/ast-grep-lang-json-0.0.2.tgz","_from":"file:ast-grep-lang-json-0.0.2.tgz","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ez1tobrvtyIbfgZuofZ06Pz1yF6jlu2G202KTqkpbUv2qiWvqei+lQtv6mcMGUG4cVjWJnO4KAkbysqcD5qPBQ==","shasum":"307261f1fbae0a03291f7a318c122078d072fdb1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@ast-grep/lang-json/-/lang-json-0.0.2.tgz","fileCount":16,"unpackedSize":135810,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDEl2W7DF4Un4+hk/Yn/7N6XgxaHxV4vYDlEKdWwZnhjAiBXdtVTw4Z+AXW+pVZ42fEDgiReUvRXcA4kP+U7Y1Jcog=="}],"size":25963},"_npmUser":{"name":"anonymous","email":"nonamesheep@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nonamesheep@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lang-json_0.0.2_1744258121404_0.10956581183302827"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-10T04:08:41.604Z","publish_time":1744258121604,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"0.0.3":{"name":"@ast-grep/lang-json","version":"0.0.3","description":"## Installation","main":"index.js","keywords":["ast-grep","ast-grep-lang"],"author":"","license":"ISC","dependencies":{"@ast-grep/setup-lang":"0.0.3"},"peerDependencies":{"tree-sitter-cli":"0.25.6"},"peerDependenciesMeta":{"tree-sitter-cli":{"optional":true}},"devDependencies":{"@ast-grep/nursery":"0.0.5","tree-sitter-cli":"0.25.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":"@ast-grep/lang-json@0.0.3","types":"./index.d.ts","_integrity":"sha512-rixdx1oiQXliehQmg6zDsv4iuYjqenfLk+LelR3WwG0HDlU8XRIMeeN9WorgJrFh+I9m20VwSyZ5awrKzMzjsw==","_resolved":"/tmp/b7fd4ac682eaff810c5e388bc5381298/ast-grep-lang-json-0.0.3.tgz","_from":"file:ast-grep-lang-json-0.0.3.tgz","_nodeVersion":"20.19.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-rixdx1oiQXliehQmg6zDsv4iuYjqenfLk+LelR3WwG0HDlU8XRIMeeN9WorgJrFh+I9m20VwSyZ5awrKzMzjsw==","shasum":"391ddb652cfc9f2931a1cf88095516e8dce442ff","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@ast-grep/lang-json/-/lang-json-0.0.3.tgz","fileCount":16,"unpackedSize":135810,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEnKcdiLxDsy147vdx7b7hUjaeHpC2x6yi5JMH3KQYeQAiBU5PzN81La66WS5Liw4q7rIsS5RTUDCOIzMzv2O3oJZw=="}],"size":25966},"_npmUser":{"name":"anonymous","email":"nonamesheep@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nonamesheep@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lang-json_0.0.3_1749433938977_0.4891674606404093"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-09T01:52:19.151Z","publish_time":1749433939151,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"0.0.4":{"name":"@ast-grep/lang-json","version":"0.0.4","description":"## Installation","main":"index.js","keywords":["ast-grep","ast-grep-lang"],"author":"","license":"ISC","dependencies":{"@ast-grep/setup-lang":"0.0.4"},"peerDependencies":{"tree-sitter-cli":"0.25.8"},"peerDependenciesMeta":{"tree-sitter-cli":{"optional":true}},"devDependencies":{"@ast-grep/nursery":"0.0.7","tree-sitter-cli":"0.25.8","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":"@ast-grep/lang-json@0.0.4","types":"./index.d.ts","_integrity":"sha512-ig+N5Ub+gV3qEBOZeKOS3e2ms/pYPHfbtC2VyEcW9EnWfRwYChVDEaMtmv8UxnWbAIRIrxHoGUnCh0L4slIbRQ==","_resolved":"/tmp/9b8577b583bafa02fed62537a1c89c89/ast-grep-lang-json-0.0.4.tgz","_from":"file:ast-grep-lang-json-0.0.4.tgz","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ig+N5Ub+gV3qEBOZeKOS3e2ms/pYPHfbtC2VyEcW9EnWfRwYChVDEaMtmv8UxnWbAIRIrxHoGUnCh0L4slIbRQ==","shasum":"3a2f130880684b04291b2b695de760a744991dba","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@ast-grep/lang-json/-/lang-json-0.0.4.tgz","fileCount":16,"unpackedSize":136261,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBJB0CxymLtXbBUP5bwQxqIbwGx4uRiQH4ReJgxQkMIiAiEA+Ej43HlMAUjIRkcX7uOiZPpJ9tx+g4gko5bILUwBscw="}],"size":26079},"_npmUser":{"name":"anonymous","email":"nonamesheep@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nonamesheep@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lang-json_0.0.4_1755141408321_0.9043768218112382"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-14T03:16:48.516Z","publish_time":1755141408516,"_source_registry_name":"default","hasInstallScript":true,"contributors":[]},"0.0.5":{"name":"@ast-grep/lang-json","version":"0.0.5","description":"## Installation","main":"index.js","keywords":["ast-grep","ast-grep-lang"],"author":"","license":"ISC","dependencies":{"@ast-grep/setup-lang":"0.0.5"},"peerDependencies":{"tree-sitter-cli":"0.25.8"},"peerDependenciesMeta":{"tree-sitter-cli":{"optional":true}},"devDependencies":{"@ast-grep/nursery":"0.0.8","tree-sitter-cli":"0.25.8","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":"@ast-grep/lang-json@0.0.5","types":"./index.d.ts","_integrity":"sha512-pA+QNncxNFIGzL1VIqZCYTkOIcdNInOr+z37/ch31qvFjxyOsvkQkgjeQLKHkYfN+1bF7m5AZS6aE1CvG2dZjw==","_resolved":"/tmp/c88e956386c40893592cd1dfe3fb5207/ast-grep-lang-json-0.0.5.tgz","_from":"file:ast-grep-lang-json-0.0.5.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-pA+QNncxNFIGzL1VIqZCYTkOIcdNInOr+z37/ch31qvFjxyOsvkQkgjeQLKHkYfN+1bF7m5AZS6aE1CvG2dZjw==","shasum":"42a1c563dd48deeb60b521887143711538602f91","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@ast-grep/lang-json/-/lang-json-0.0.5.tgz","fileCount":16,"unpackedSize":136261,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICTJGuNOALAcwJUoN5m8YxOuXD5D559ZWNNY/3I+7n0zAiEAg5mzzcRSKZM1hfFITvFfY3/xAhSRKJocCgkqky2VQcA="}],"size":26719},"_npmUser":{"name":"anonymous","email":"nonamesheep@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nonamesheep@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lang-json_0.0.5_1765433455483_0.5556536735063027"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-11T06:10:55.643Z","publish_time":1765433455643,"_source_registry_name":"default","contributors":[]},"0.0.6":{"name":"@ast-grep/lang-json","version":"0.0.6","description":"## Installation","main":"index.js","keywords":["ast-grep","ast-grep-lang"],"author":"","license":"ISC","dependencies":{"@ast-grep/setup-lang":"0.0.6"},"peerDependencies":{"tree-sitter-cli":"0.25.8"},"peerDependenciesMeta":{"tree-sitter-cli":{"optional":true}},"devDependencies":{"@ast-grep/nursery":"0.0.9","tree-sitter-cli":"0.25.8","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":"@ast-grep/lang-json@0.0.6","types":"./index.d.ts","_integrity":"sha512-xb4OXtyuyY9RqUs5Af4Jb5hAJcBD0hGD1rJSQm1chJqdWOjhM6G7V2vHLx6B8M9uXuTBnaNs4U4OccMp+e95JQ==","_resolved":"/tmp/839a133046f928f3c316f75a22e966a8/ast-grep-lang-json-0.0.6.tgz","_from":"file:ast-grep-lang-json-0.0.6.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-xb4OXtyuyY9RqUs5Af4Jb5hAJcBD0hGD1rJSQm1chJqdWOjhM6G7V2vHLx6B8M9uXuTBnaNs4U4OccMp+e95JQ==","shasum":"01ad85125bc7927cfd3d899f26ae7eb9711caa9b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@ast-grep/lang-json/-/lang-json-0.0.6.tgz","fileCount":17,"unpackedSize":206973,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGUhZBOHzcnBSCcvXfcyW70KGAUQk/KeS+GqcguDKuULAiEA64zB5SLe+4Use1IBecKP02JHP7GFiTI0g0hHVOUbW+k="}],"size":31014},"_npmUser":{"name":"anonymous","email":"nonamesheep@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nonamesheep@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lang-json_0.0.6_1768081571571_0.3147647055615981"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-10T21:46:11.707Z","publish_time":1768081571707,"_source_registry_name":"default","contributors":[]},"0.0.7":{"name":"@ast-grep/lang-json","version":"0.0.7","description":"## Installation","main":"index.js","keywords":["ast-grep","ast-grep-lang"],"author":"","license":"ISC","dependencies":{"@ast-grep/setup-lang":"0.0.6"},"peerDependencies":{"tree-sitter-cli":"0.25.8"},"peerDependenciesMeta":{"tree-sitter-cli":{"optional":true}},"devDependencies":{"@ast-grep/nursery":"0.0.9","tree-sitter-cli":"0.25.8","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":"@ast-grep/lang-json@0.0.7","types":"./index.d.ts","_integrity":"sha512-8wiH+B4Rih8/vHsUB4DOTXnQHMxfWhaBygUEZ036kfr1T9WFvx5E7QYd2WX2Wm1nFCzUmWbIfsoE+cR2G9SJlA==","_resolved":"/tmp/efbaa74a92f64454ca655b9126bab654/ast-grep-lang-json-0.0.7.tgz","_from":"file:ast-grep-lang-json-0.0.7.tgz","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-8wiH+B4Rih8/vHsUB4DOTXnQHMxfWhaBygUEZ036kfr1T9WFvx5E7QYd2WX2Wm1nFCzUmWbIfsoE+cR2G9SJlA==","shasum":"06a07a26553f277da42666d51e0faa09d289d43b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@ast-grep/lang-json/-/lang-json-0.0.7.tgz","fileCount":18,"unpackedSize":224166,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBj7kM7UpzFdmCxLCVT/Y1L8nI5j4o4MOqLcOF4NZE0nAiEA/TXlvBQzhXVG5/CVM+a79aKwIo/F1AoQQxn9bw+KtwQ="}],"size":33338},"_npmUser":{"name":"anonymous","email":"nonamesheep@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nonamesheep@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lang-json_0.0.7_1773542700730_0.6043372265313138"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-15T02:45:00.877Z","publish_time":1773542700877,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.0.7"},"name":"@ast-grep/lang-json","time":{"created":"2025-04-10T18:12:14.046Z","modified":"2026-03-15T02:45:09.323Z","0.0.2":"2025-04-10T04:08:41.604Z","0.0.3":"2025-06-09T01:52:19.151Z","0.0.4":"2025-08-14T03:16:48.516Z","0.0.5":"2025-12-11T06:10:55.643Z","0.0.6":"2026-01-10T21:46:11.707Z","0.0.7":"2026-03-15T02:45:00.877Z"},"readme":"# ast-grep napi language for json\n\n## Installation\n\nIn a pnpm project, run:\n\n```bash\npnpm install @ast-grep/lang-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 '@ast-grep/lang-json'\nimport { registerDynamicLanguage, parse } from '@ast-grep/napi'\n\nregisterDynamicLanguage({ json })\n\nconst sg = parse('json', `your code`)\nsg.root().kind()\n```","users":{}}