{"_id":"@codegraph-js/codegraph","_rev":"4-aa2b9cf0cffd0eedd650c76d6ddba34a","name":"@codegraph-js/codegraph","dist-tags":{"preview":"0.0.1-beta.1","latest":"0.0.2"},"versions":{"0.0.1-beta.0":{"name":"@codegraph-js/codegraph","version":"0.0.1-beta.0","license":"MIT","_id":"@codegraph-js/codegraph@0.0.1-beta.0","maintainers":[{"name":"russellluo","email":"luopeng.he@gmail.com"}],"homepage":"https://github.com/RussellLuo/codegraph#readme","bugs":{"url":"https://github.com/RussellLuo/codegraph/issues"},"ava":{"timeout":"2m","extensions":{"ts":"module"},"nodeArguments":["--import","@swc-node/register/esm-register"],"workerThreads":false,"environmentVariables":{"TS_NODE_PROJECT":"./tsconfig.json"}},"dist":{"shasum":"1d0ade17ef38b6acc77bb8de0428564cc7fd3e3f","tarball":"https://registry.npmjs.org/@codegraph-js/codegraph/-/codegraph-0.0.1-beta.0.tgz","fileCount":11,"integrity":"sha512-RwZ9vL3q+9G/FmrSj5zsseCNTGi9bxBww4spxnq2VT9B8svpvc45z08XjcA1UdGeId9MLhve5zmgSR0gVXNqZg==","signatures":[{"sig":"MEYCIQD4O8cR8XV6giVDlqLV7ceyzdKkUuJD8wlakKtY/aWDswIhAJScN9vZ1Qr4ylmxxkGyvDvgHFryZ023MK9uNlQqHcNd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraph-js%2fcodegraph@0.0.1-beta.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16292},"main":"index.js","napi":{"name":"codegraph","triples":{"additional":["aarch64-apple-darwin","aarch64-linux-android","aarch64-unknown-linux-gnu","aarch64-unknown-linux-musl","aarch64-pc-windows-msvc","armv7-unknown-linux-gnueabihf","armv7-unknown-linux-musleabihf","x86_64-unknown-linux-musl","x86_64-unknown-freebsd","i686-pc-windows-msvc","armv7-linux-androideabi","universal-apple-darwin","riscv64gc-unknown-linux-gnu"]}},"types":"index.d.ts","engines":{"node":">= 10"},"gitHead":"3524a3fd1b212d90f43b5dbe82bc7789e68fe995","scripts":{"test":"ava","build":"napi build --platform --release","version":"napi version","artifacts":"napi artifacts","universal":"napi universal","build:debug":"napi build --platform","prepublishOnly":"napi prepublish -t npm --skip-gh-release"},"_npmUser":{"name":"russellluo","email":"luopeng.he@gmail.com"},"repository":{"url":"git+https://github.com/RussellLuo/codegraph.git","type":"git"},"_npmVersion":"10.9.2","description":"Node.js bindings for CodeGraph.","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"ava":"^6.1.3","@swc/core":"^1.6.13","typescript":"^5.5.3","@napi-rs/cli":"^2.18.4","@swc-node/register":"^1.10.6"},"optionalDependencies":{"@codegraph-js/codegraph-darwin-x64":"0.0.1-beta.0","@codegraph-js/codegraph-freebsd-x64":"0.0.1-beta.0","@codegraph-js/codegraph-darwin-arm64":"0.0.1-beta.0","@codegraph-js/codegraph-android-arm64":"0.0.1-beta.0","@codegraph-js/codegraph-linux-x64-gnu":"0.0.1-beta.0","@codegraph-js/codegraph-linux-x64-musl":"0.0.1-beta.0","@codegraph-js/codegraph-win32-x64-msvc":"0.0.1-beta.0","@codegraph-js/codegraph-linux-arm64-gnu":"0.0.1-beta.0","@codegraph-js/codegraph-win32-ia32-msvc":"0.0.1-beta.0","@codegraph-js/codegraph-android-arm-eabi":"0.0.1-beta.0","@codegraph-js/codegraph-darwin-universal":"0.0.1-beta.0","@codegraph-js/codegraph-linux-arm64-musl":"0.0.1-beta.0","@codegraph-js/codegraph-win32-arm64-msvc":"0.0.1-beta.0","@codegraph-js/codegraph-linux-riscv64-gnu":"0.0.1-beta.0","@codegraph-js/codegraph-linux-arm-gnueabihf":"0.0.1-beta.0","@codegraph-js/codegraph-linux-arm-musleabihf":"0.0.1-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/codegraph_0.0.1-beta.0_1748493298467_0.4310988307991448","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-beta.1":{"name":"@codegraph-js/codegraph","version":"0.0.1-beta.1","license":"MIT","_id":"@codegraph-js/codegraph@0.0.1-beta.1","maintainers":[{"name":"russellluo","email":"luopeng.he@gmail.com"}],"homepage":"https://github.com/RussellLuo/codegraph#readme","bugs":{"url":"https://github.com/RussellLuo/codegraph/issues"},"ava":{"timeout":"2m","extensions":{"ts":"module"},"nodeArguments":["--import","@swc-node/register/esm-register"],"workerThreads":false,"environmentVariables":{"TS_NODE_PROJECT":"./tsconfig.json"}},"dist":{"shasum":"9e70d348136ca877a6bab764f4cf9ce807aded9f","tarball":"https://registry.npmjs.org/@codegraph-js/codegraph/-/codegraph-0.0.1-beta.1.tgz","fileCount":12,"integrity":"sha512-XUhjafhOcyHXx5j9xIcygzLY1M94P02qJMxuK1/I/AIlxeOll8HTWO+UEN6ifceL20Bgkr3n6d2NA7qW/9tP6g==","signatures":[{"sig":"MEUCICKon7w/VwqRIQWTchMrP8Jc9pxJ6xfX1wz+6jB6Iy26AiEA4dVowIlIQnJMo/Bx/tb55vTdks2FVDnBSG1iakZpzeU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraph-js%2fcodegraph@0.0.1-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28166},"main":"index.js","napi":{"name":"codegraph","triples":{"additional":["aarch64-apple-darwin","aarch64-linux-android","aarch64-unknown-linux-gnu","aarch64-unknown-linux-musl","aarch64-pc-windows-msvc","armv7-unknown-linux-gnueabihf","armv7-unknown-linux-musleabihf","x86_64-unknown-linux-musl","x86_64-unknown-freebsd","i686-pc-windows-msvc","armv7-linux-androideabi","universal-apple-darwin","riscv64gc-unknown-linux-gnu"]}},"types":"index.d.ts","engines":{"node":">= 10"},"gitHead":"6ad9980988ab636c29d343175fc0b6f4603a9005","scripts":{"test":"ava","build":"napi build --platform --release","version":"napi version","artifacts":"napi artifacts","universal":"napi universal","build:debug":"napi build --platform","prepublishOnly":"napi prepublish -t npm --skip-gh-release"},"_npmUser":{"name":"russellluo","email":"luopeng.he@gmail.com"},"repository":{"url":"git+https://github.com/RussellLuo/codegraph.git","type":"git"},"_npmVersion":"10.9.2","description":"Node.js bindings for CodeGraph.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","readmeFilename":"README.md","devDependencies":{"ava":"^6.1.3","@swc/core":"^1.6.13","typescript":"^5.5.3","@napi-rs/cli":"^2.18.4","@swc-node/register":"^1.10.6"},"optionalDependencies":{"@codegraph-js/codegraph-darwin-x64":"0.0.1-beta.1","@codegraph-js/codegraph-freebsd-x64":"0.0.1-beta.1","@codegraph-js/codegraph-darwin-arm64":"0.0.1-beta.1","@codegraph-js/codegraph-android-arm64":"0.0.1-beta.1","@codegraph-js/codegraph-linux-x64-gnu":"0.0.1-beta.1","@codegraph-js/codegraph-linux-x64-musl":"0.0.1-beta.1","@codegraph-js/codegraph-win32-x64-msvc":"0.0.1-beta.1","@codegraph-js/codegraph-linux-arm64-gnu":"0.0.1-beta.1","@codegraph-js/codegraph-win32-ia32-msvc":"0.0.1-beta.1","@codegraph-js/codegraph-android-arm-eabi":"0.0.1-beta.1","@codegraph-js/codegraph-darwin-universal":"0.0.1-beta.1","@codegraph-js/codegraph-linux-arm64-musl":"0.0.1-beta.1","@codegraph-js/codegraph-win32-arm64-msvc":"0.0.1-beta.1","@codegraph-js/codegraph-linux-riscv64-gnu":"0.0.1-beta.1","@codegraph-js/codegraph-linux-arm-gnueabihf":"0.0.1-beta.1","@codegraph-js/codegraph-linux-arm-musleabihf":"0.0.1-beta.1"},"_npmOperationalInternal":{"tmp":"tmp/codegraph_0.0.1-beta.1_1749979908691_0.46752505108805353","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@codegraph-js/codegraph","version":"0.0.1","license":"MIT","_id":"@codegraph-js/codegraph@0.0.1","maintainers":[{"name":"russellluo","email":"luopeng.he@gmail.com"}],"homepage":"https://github.com/RussellLuo/codegraph#readme","bugs":{"url":"https://github.com/RussellLuo/codegraph/issues"},"ava":{"timeout":"2m","extensions":{"ts":"module"},"nodeArguments":["--import","@swc-node/register/esm-register"],"workerThreads":false,"environmentVariables":{"TS_NODE_PROJECT":"./tsconfig.json"}},"dist":{"shasum":"d85067b10bbceca0217b1b43cf99f74231374f5e","tarball":"https://registry.npmjs.org/@codegraph-js/codegraph/-/codegraph-0.0.1.tgz","fileCount":13,"integrity":"sha512-TKBG5NIJSSfdWz1vmZwhuNfHFDsmek7V+WWvpjj2/KCOThhWXu5tvsrIYtqF+KJgmIqIHFwgHlFvBJKjxuhj3A==","signatures":[{"sig":"MEYCIQCZTISHutmjkW3ksxIjR8VZhsQFsjma6d8pQC4xQ54sUwIhAJ2ftscU48jQzf6AS7Xuyu8xbPXdaPVh7r0Nz5XRmwVB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraph-js%2fcodegraph@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28876},"main":"index.js","napi":{"name":"codegraph","triples":{"additional":["aarch64-apple-darwin","aarch64-linux-android","aarch64-unknown-linux-gnu","aarch64-unknown-linux-musl","aarch64-pc-windows-msvc","armv7-unknown-linux-gnueabihf","armv7-unknown-linux-musleabihf","x86_64-unknown-linux-musl","x86_64-unknown-freebsd","i686-pc-windows-msvc","armv7-linux-androideabi","universal-apple-darwin","riscv64gc-unknown-linux-gnu"]}},"types":"index.d.ts","engines":{"node":">= 10"},"gitHead":"78da2c59fefe880daaab813daa0fbc679da67c06","scripts":{"test":"ava","build":"napi build --platform --release","version":"napi version","artifacts":"napi artifacts","universal":"napi universal","build:debug":"napi build --platform","prepublishOnly":"napi prepublish -t npm --skip-gh-release"},"_npmUser":{"name":"russellluo","actor":{"name":"russellluo","type":"user","email":"luopeng.he@gmail.com"},"email":"luopeng.he@gmail.com"},"repository":{"url":"git+https://github.com/RussellLuo/codegraph.git","type":"git"},"_npmVersion":"10.9.2","description":"Node.js bindings for CodeGraph.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"ava":"^6.1.3","@swc/core":"^1.6.13","typescript":"^5.5.3","@napi-rs/cli":"^2.18.4","@swc-node/register":"^1.10.6"},"optionalDependencies":{"@codegraph-js/codegraph-darwin-x64":"0.0.1","@codegraph-js/codegraph-freebsd-x64":"0.0.1","@codegraph-js/codegraph-darwin-arm64":"0.0.1","@codegraph-js/codegraph-android-arm64":"0.0.1","@codegraph-js/codegraph-linux-x64-gnu":"0.0.1","@codegraph-js/codegraph-linux-x64-musl":"0.0.1","@codegraph-js/codegraph-win32-x64-msvc":"0.0.1","@codegraph-js/codegraph-linux-arm64-gnu":"0.0.1","@codegraph-js/codegraph-win32-ia32-msvc":"0.0.1","@codegraph-js/codegraph-android-arm-eabi":"0.0.1","@codegraph-js/codegraph-darwin-universal":"0.0.1","@codegraph-js/codegraph-linux-arm64-musl":"0.0.1","@codegraph-js/codegraph-win32-arm64-msvc":"0.0.1","@codegraph-js/codegraph-linux-riscv64-gnu":"0.0.1","@codegraph-js/codegraph-linux-arm-gnueabihf":"0.0.1","@codegraph-js/codegraph-linux-arm-musleabihf":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/codegraph_0.0.1_1750211162419_0.7958761422736251","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@codegraph-js/codegraph","version":"0.0.2","main":"index.js","types":"index.d.ts","napi":{"name":"codegraph","triples":{"additional":["aarch64-apple-darwin","aarch64-linux-android","aarch64-unknown-linux-gnu","aarch64-unknown-linux-musl","aarch64-pc-windows-msvc","armv7-unknown-linux-gnueabihf","armv7-unknown-linux-musleabihf","x86_64-unknown-linux-musl","x86_64-unknown-freebsd","i686-pc-windows-msvc","armv7-linux-androideabi","universal-apple-darwin","riscv64gc-unknown-linux-gnu"]}},"license":"MIT","devDependencies":{"@napi-rs/cli":"^2.18.4","@swc-node/register":"^1.10.6","@swc/core":"^1.6.13","ava":"^6.1.3","typescript":"^5.5.3"},"ava":{"extensions":{"ts":"module"},"timeout":"2m","workerThreads":false,"environmentVariables":{"TS_NODE_PROJECT":"./tsconfig.json"},"nodeArguments":["--import","@swc-node/register/esm-register"]},"engines":{"node":">= 10"},"scripts":{"artifacts":"napi artifacts","build":"napi build --platform --release","build:debug":"napi build --platform","prepublishOnly":"napi prepublish -t npm --skip-gh-release","test":"ava","universal":"napi universal","version":"napi version"},"packageManager":"yarn@4.5.0","repository":{"type":"git","url":"git+https://github.com/RussellLuo/codegraph.git"},"optionalDependencies":{"@codegraph-js/codegraph-win32-x64-msvc":"0.0.2","@codegraph-js/codegraph-darwin-x64":"0.0.2","@codegraph-js/codegraph-linux-x64-gnu":"0.0.2","@codegraph-js/codegraph-darwin-arm64":"0.0.2","@codegraph-js/codegraph-android-arm64":"0.0.2","@codegraph-js/codegraph-linux-arm64-gnu":"0.0.2","@codegraph-js/codegraph-linux-arm64-musl":"0.0.2","@codegraph-js/codegraph-win32-arm64-msvc":"0.0.2","@codegraph-js/codegraph-linux-arm-gnueabihf":"0.0.2","@codegraph-js/codegraph-linux-arm-musleabihf":"0.0.2","@codegraph-js/codegraph-linux-x64-musl":"0.0.2","@codegraph-js/codegraph-freebsd-x64":"0.0.2","@codegraph-js/codegraph-win32-ia32-msvc":"0.0.2","@codegraph-js/codegraph-android-arm-eabi":"0.0.2","@codegraph-js/codegraph-darwin-universal":"0.0.2","@codegraph-js/codegraph-linux-riscv64-gnu":"0.0.2"},"_id":"@codegraph-js/codegraph@0.0.2","gitHead":"6dae2fc08449e4430981a24f210bfcd0eeab81c6","description":"Node.js bindings for CodeGraph.","bugs":{"url":"https://github.com/RussellLuo/codegraph/issues"},"homepage":"https://github.com/RussellLuo/codegraph#readme","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-bWaxHuRwo3beJMx66MQcXboYWYEBMrfPvQI5ZUEVU3rngEfRw0/8MiGD20CRSfOqOdfk0WC0QqoCv7hT9RH8Rw==","shasum":"842dd293269c58634ae75fd148d4301c6de1ed45","tarball":"https://registry.npmjs.org/@codegraph-js/codegraph/-/codegraph-0.0.2.tgz","fileCount":14,"unpackedSize":30087,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@codegraph-js%2fcodegraph@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD0A1A9fofZeRVOOB5uofQ8TWXS1u/2PHQfGDwH9ruwnwIhALlN2/jG4J7zfCEbyDGZFDJHURAjNjJU8JM29nxMOY4n"}]},"_npmUser":{"name":"russellluo","email":"luopeng.he@gmail.com","actor":{"name":"russellluo","email":"luopeng.he@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"russellluo","email":"luopeng.he@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/codegraph_0.0.2_1750847576836_0.536061378567571"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-29T04:34:58.373Z","modified":"2025-06-25T10:32:57.422Z","0.0.1-beta.0":"2025-05-29T04:34:58.631Z","0.0.1-beta.1":"2025-06-15T09:31:48.886Z","0.0.1":"2025-06-18T01:46:02.594Z","0.0.2":"2025-06-25T10:32:57.000Z"},"bugs":{"url":"https://github.com/RussellLuo/codegraph/issues"},"license":"MIT","homepage":"https://github.com/RussellLuo/codegraph#readme","repository":{"type":"git","url":"git+https://github.com/RussellLuo/codegraph.git"},"description":"Node.js bindings for CodeGraph.","maintainers":[{"name":"russellluo","email":"luopeng.he@gmail.com"}],"readme":"# CodeGraph Node.js Bindings\n\nNode.js bindings for CodeGraph.\n\n\n## Installation\n\n```bash\nnpm install @codegraph-js/codegraph\n```\n\n\n## Quick Start\n\nTODO:\n\n```javascript\n```\n\n\n## Examples\n\n- [Parse Python code](examples/parse_python_code.js)\n\n\n## Development\n\nInstall [napi-rs][1]:\n\n```bash\nnpm install -g @napi-rs/cli\n```\n\nRename the package:\n\n```bash\nnapi rename -n @org/pkg\n```\n\nChange the version:\n\n```bash\nnpm version <newversion>\n```\n\nBuild the native package:\n\n```bash\nnapi build --platform --release\n```\n\nRun the examples:\n\n```bash\nnode examples/parse_python_code.js\n```\n\n\n[1]: https://napi.rs/\n","readmeFilename":"README.md"}