{"_id":"@arnabxd/ntgcalls-napi","_rev":"11-fedfa77a3a3ffdb7d562dab662ed9057","name":"@arnabxd/ntgcalls-napi","dist-tags":{"beta":"0.3.0-beta-05","latest":"0.3.3"},"versions":{"0.1.0":{"name":"@arnabxd/ntgcalls-napi","version":"0.1.0","_id":"@arnabxd/ntgcalls-napi@0.1.0","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"dist":{"shasum":"7a99e63d8f14b60fe237ff3b081156359fc42e0e","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.1.0.tgz","fileCount":5,"integrity":"sha512-B5P9+8Yg75QyJkAg8+Lbak0xVS/NJAtgBU/xckTvBaJnPdDurtChvzAuS3B8QZ+Jam/ZChUkBCyN+meJROHqNw==","signatures":[{"sig":"MEUCIEE+LooGmNxW4JtjSt7nFuqnPPCw8VCra2hX6B6OJZuZAiEA5dltQFQGZHFSoprstN0/znDc7qzzouDVk19mLOnUT20=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6374},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"ccf8d2e5353b892d40eb1b97dba093f865ec9cbb","private":false,"scripts":{"lint":"biome check .","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","postinstall":"node postinstall.js"},"_npmUser":{"name":"arnabxd","email":"arnabparyali@gmail.com"},"_npmVersion":"11.12.1","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.15.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"lefthook":"latest","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.1.0_1780247284154_0.2652736394939834","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@arnabxd/ntgcalls-napi","version":"0.2.0","_id":"@arnabxd/ntgcalls-napi@0.2.0","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"dist":{"shasum":"a74f76c93360d077db88f56e5a96948539054b71","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.2.0.tgz","fileCount":5,"integrity":"sha512-wciHx7Fxk0DOXaap+0Nu6ueR/bZYSeXAtcUMHxca2T7ifDEC2SEotv/vD+q4XkTLMtbmERa7EewkKmgFkqDJFQ==","signatures":[{"sig":"MEYCIQDz4UGmN7LyLxxgsK7ORIW3caDg4AUglum2p8HL/bU2QQIhAKsMm0aCkG84aIpNvzT12iTMpIG9e9I4rbHU7d2uBckZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6376},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"ac8e58137a18632f320c4e50d27e9a7c59fa7002","private":false,"scripts":{"lint":"biome check .","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","postinstall":"node postinstall.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"repository":{"url":"git+https://github.com/ArnabXD/ntgcalls-napi.git","type":"git"},"_npmVersion":"11.13.0","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"lefthook":"latest","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.2.0_1780248529532_0.8690866159270445","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@arnabxd/ntgcalls-napi","version":"0.2.1","_id":"@arnabxd/ntgcalls-napi@0.2.1","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"dist":{"shasum":"c4aa1783ca028a6a4b7f7bb9c61ad6c2944c6793","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.2.1.tgz","fileCount":5,"integrity":"sha512-kmkw2nCUKnf0qdhy631s3xKqdzKJOwLnlvBcibd7+/mL73TK6OoDjt6it7MpcCsgJOE7HzGMXj0bQ54GAh0IFw==","signatures":[{"sig":"MEUCIGaLsdcahxnl2FaTxgPBha9Hi3vQqIY4gqsXR2KMzgVWAiEAleumh+lZD0McAgZUDMsMwvVdwUvwRYIiBTvK4GenL4Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6376},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"ebe697586c16211936b4ff5ed594b3e98f2097e3","private":false,"scripts":{"lint":"biome check .","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","postinstall":"node postinstall.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"repository":{"url":"git+https://github.com/ArnabXD/ntgcalls-napi.git","type":"git"},"_npmVersion":"11.13.0","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"lefthook":"latest","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.2.1_1780250813912_0.011486472776180534","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta-01":{"name":"@arnabxd/ntgcalls-napi","version":"0.3.0-beta-01","_id":"@arnabxd/ntgcalls-napi@0.3.0-beta-01","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"dist":{"shasum":"b4da5a2996644c6facb8afd62f1296a55012a10f","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.3.0-beta-01.tgz","fileCount":5,"integrity":"sha512-Tranu4BFVvZQe+zuGF+/mufYAKGa+SwbI1MtuGEsiiH7WqtoTx4j+EOo+dtiUM1qSvW5kJx2nRfgQXWubDa+kQ==","signatures":[{"sig":"MEYCIQDcsRauIl+cxTG2DlVbX3ex+SoPxKIxQv8CNJF5Js4WLgIhAPLok95LhnizZOFeKJ8022OkRasLujL0tGm5TWGS/Gpv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.3.0-beta-01","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11412},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"50adeb7e2c5ebf36b35ad9d05a25d9ca117ecea2","private":false,"scripts":{"lint":"biome check .","build":"cargo build --release && node -e \"const{cpSync}=require('fs'),p=process.platform;cpSync(p==='win32'?'target/release/ntgcalls.dll':p==='darwin'?'target/release/libntgcalls.dylib':'target/release/libntgcalls.so','ntgcalls.node')\"","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","postinstall":"node postinstall.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"repository":{"url":"git+https://github.com/ArnabXD/ntgcalls-napi.git","type":"git"},"_npmVersion":"11.13.0","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"lefthook":"latest","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.3.0-beta-01_1780282394297_0.3356177580159736","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta-02":{"name":"@arnabxd/ntgcalls-napi","version":"0.3.0-beta-02","_id":"@arnabxd/ntgcalls-napi@0.3.0-beta-02","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"dist":{"shasum":"67529845f0503a9f2152c87a6834c798960c79e9","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.3.0-beta-02.tgz","fileCount":5,"integrity":"sha512-5vPMRPVUN+cMzN1u/GuKFAqhF+PdP6YqkWTLRi+NWRalILomcFqgYqZ3Fm8aXUmk1H9WCEpYWokUyJ8bS24L9g==","signatures":[{"sig":"MEYCIQCaJgeNGJqmurR4t/garnI/oBXP4dbHBghp5pMkgAmFgwIhAIrObMtBmxfb702JKoOcSvJmumBnBTc/fIgg/2pWYkVB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.3.0-beta-02","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11260},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"a8f6abc2377bda13b44ca84dbec6dd656a9f92f3","private":false,"scripts":{"lint":"biome check .","build":"napi build --release","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","postinstall":"node postinstall.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"repository":{"url":"git+https://github.com/ArnabXD/ntgcalls-napi.git","type":"git"},"_npmVersion":"11.13.0","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"lefthook":"latest","@napi-rs/cli":"^3.7.0","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.3.0-beta-02_1780287349699_0.4241755531092428","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta-03":{"name":"@arnabxd/ntgcalls-napi","version":"0.3.0-beta-03","_id":"@arnabxd/ntgcalls-napi@0.3.0-beta-03","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"dist":{"shasum":"c4158d698d72a58203c6549d2d90595d0f3caa38","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.3.0-beta-03.tgz","fileCount":5,"integrity":"sha512-4ZyDXFhruxX69CRqE6V1k2Rkhq0tRD44Bp617jJG1rISamLAiRhjLHB2M/FMUc5P7KRk6QfeJ2bGApLu2qTe1g==","signatures":[{"sig":"MEYCIQC3551zjzrEqz7SD2hAU5T4ieTJSzwx6V2uDfj5DLy34QIhAM6o9HR+yIzAAg+AEynaeEFcPOtrdYgdbZkol94QEdnR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.3.0-beta-03","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17339},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"3a3543ff44d3bcd2a398eb9d64b5921b2abee662","private":false,"scripts":{"lint":"biome check .","build":"napi build --release --dts binding.d.ts","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","changelog":"npx git-cliff -o CHANGELOG.md","postinstall":"node postinstall.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"repository":{"url":"git+https://github.com/ArnabXD/ntgcalls-napi.git","type":"git"},"_npmVersion":"11.13.0","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"lefthook":"latest","@napi-rs/cli":"^3.7.0","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.3.0-beta-03_1780288418111_0.6708135521016119","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta-04":{"name":"@arnabxd/ntgcalls-napi","version":"0.3.0-beta-04","_id":"@arnabxd/ntgcalls-napi@0.3.0-beta-04","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"dist":{"shasum":"f051bdd69c2308db6679fdbe1f886ac331e478d7","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.3.0-beta-04.tgz","fileCount":5,"integrity":"sha512-0Vd3tw/uCUJnf7w96+bokrG1bLk9oWvkjmCGvSVT5lSEYVSpA6+Fa3xlFG7ESkInUBcam2qkuoGn90/cXRRU3A==","signatures":[{"sig":"MEUCIAj68lxjyOB4P2uneUcg46zClO7dSWA3TjCspY6ovti1AiEAkUYGsa6t3D35pkx6Rf/zJp8GqQEL/ynPYdB/3p5IYOM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.3.0-beta-04","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19069},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"95a00025044d6c7f54eb8e33b4c76a796c085c9e","private":false,"scripts":{"lint":"biome check .","build":"napi build --release --dts binding.d.ts","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","changelog":"npx git-cliff -o CHANGELOG.md","postinstall":"node postinstall.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"repository":{"url":"git+https://github.com/ArnabXD/ntgcalls-napi.git","type":"git"},"_npmVersion":"11.13.0","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"lefthook":"latest","@napi-rs/cli":"^3.7.0","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.3.0-beta-04_1780289009251_0.70618258063527","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta-05":{"name":"@arnabxd/ntgcalls-napi","version":"0.3.0-beta-05","_id":"@arnabxd/ntgcalls-napi@0.3.0-beta-05","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"dist":{"shasum":"d8d63f162bad7203a2339753cd0ebc6bfb738795","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.3.0-beta-05.tgz","fileCount":5,"integrity":"sha512-mRXs0PzT4/X4yAwg+PiOxJ9Gr0q3dW3DsIM6XMC6XtHbpbsXHBVLOYBDCiYYlM9qTPUzLoM9L+0qERsenj9hMQ==","signatures":[{"sig":"MEQCIFpw900TKKxv6U9jXtUFpptTk+kdbxnRIsK5xkI2X+MBAiBBtgPkACpP2XZ5AlWg34aiM/TfbU9RGiRdkEfQ6Yih4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.3.0-beta-05","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19069},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"0e45d1237ac8051ea05fb6f1b8af5564613070f2","private":false,"scripts":{"lint":"biome check .","build":"napi build --release --dts binding.d.ts","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","changelog":"npx git-cliff -o CHANGELOG.md","postinstall":"node postinstall.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"repository":{"url":"git+https://github.com/ArnabXD/ntgcalls-napi.git","type":"git"},"_npmVersion":"11.13.0","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"lefthook":"latest","@napi-rs/cli":"^3.7.0","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.3.0-beta-05_1780292378936_0.18100029580578436","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@arnabxd/ntgcalls-napi","version":"0.3.0","license":"MIT","_id":"@arnabxd/ntgcalls-napi@0.3.0","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"dist":{"shasum":"60248c5174ca3656efbb3ff44bb2af1aa34fa0e9","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.3.0.tgz","fileCount":6,"integrity":"sha512-eqHbzfScZGBzZcl35NSAgEJpaEwOuEMKXSuwvgnKTjTK/sOFBjXyrXW5pLC+O0gURFLrcYLyacxrLqCgaYbnVg==","signatures":[{"sig":"MEYCIQCBM1prCjsFyiuGpAJFmA5xTgWaLE/70osajS0ZSHSxzAIhAPCfRLF0HlZjo8ONmcCTv4AMK7UXJ//ND5NtCU38I69f","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21216},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"e8ebfded59bfd974b7c5b9f5f4fa8812fffb2736","private":false,"scripts":{"lint":"biome check .","build":"napi build --release --dts binding.d.ts","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","changelog":"npx git-cliff -o CHANGELOG.md","postinstall":"node postinstall.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"repository":{"url":"git+https://github.com/ArnabXD/ntgcalls-napi.git","type":"git"},"_npmVersion":"11.13.0","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"lefthook":"latest","@napi-rs/cli":"^3.7.0","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.3.0_1780295663147_0.6319681075268528","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@arnabxd/ntgcalls-napi","version":"0.3.1","license":"MIT","_id":"@arnabxd/ntgcalls-napi@0.3.1","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"dist":{"shasum":"cce3d7867d7b4da394432e26dfe86796ec71d277","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.3.1.tgz","fileCount":6,"integrity":"sha512-7szm2Tflh56O8lXYWnXvwHOS69cHtCShW8Nkr1KBSRYrQA3L6EYgwDWbn5jf2V66J6c/n7EeO4KDE32o/Fi47Q==","signatures":[{"sig":"MEUCIBRZs155RUnqUWZDfhyo+iZbS2JIu7unkfXzGp5JUgtnAiEA9FF9EnzuBjAXiylwqQzdZJrb7yWJiectBY1h01/WM0s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21366},"main":"index.js","type":"module","types":"index.d.ts","gitHead":"0f35e697dbd8ca640a0fc6a84f7338aca7cf466a","private":false,"scripts":{"lint":"biome check .","build":"napi build --release --dts binding.d.ts","format":"cargo fmt","prepare":"lefthook install","lint:fix":"biome check --write .","changelog":"npx git-cliff -o CHANGELOG.md","postinstall":"node postinstall.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"repository":{"url":"git+https://github.com/ArnabXD/ntgcalls-napi.git","type":"git"},"_npmVersion":"11.13.0","description":"Thread-safe Rust N-API native bindings for libntgcalls","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"lefthook":"latest","@napi-rs/cli":"^3.7.0","@biomejs/biome":"latest"},"_npmOperationalInternal":{"tmp":"tmp/ntgcalls-napi_0.3.1_1780306682533_0.4032694290518799","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@arnabxd/ntgcalls-napi","version":"0.3.3","description":"Thread-safe Rust N-API native bindings for libntgcalls","license":"MIT","main":"index.js","types":"index.d.ts","type":"module","private":false,"scripts":{"prepare":"lefthook install","postinstall":"node postinstall.js","lint":"biome check .","lint:fix":"biome check --write .","format":"cargo fmt","build":"napi build --release --dts binding.d.ts","changelog":"npx git-cliff -o CHANGELOG.md","release":"bash scripts/release.sh"},"repository":{"type":"git","url":"git+https://github.com/ArnabXD/ntgcalls-napi.git"},"devDependencies":{"@biomejs/biome":"latest","@napi-rs/cli":"^3.7.0","lefthook":"latest"},"gitHead":"15210c17f58d5fdb8cda58fc711520090e462868","_id":"@arnabxd/ntgcalls-napi@0.3.3","bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-p0uKEV6bm7tdzEdkD5IHwORzloqwJOAxtEyhFd0k6uith21f/eT2FmNajt6CkeMlQqDgKWG+T9LMCjels/+wzw==","shasum":"99508ae60ef67fd4a471c65f0d315aed562c717d","tarball":"https://registry.npmjs.org/@arnabxd/ntgcalls-napi/-/ntgcalls-napi-0.3.3.tgz","fileCount":7,"unpackedSize":24960,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arnabxd%2fntgcalls-napi@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCSaoM5zNgN2jPCj3ruMXYQA54hN3bEqGmXE6SMBrgdPgIhAJXTwRqmFP7yO4YcE0DmKATXlGuO5ZNBtF0hOd9TbFXH"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:008cdcb4-27bb-46e8-93cb-7ebfc22288c8"}},"directories":{},"maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ntgcalls-napi_0.3.3_1780378057268_0.19475852749656863"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-31T17:08:04.017Z","modified":"2026-06-02T05:27:37.811Z","0.1.0":"2026-05-31T17:08:04.301Z","0.2.0":"2026-05-31T17:28:49.718Z","0.2.1":"2026-05-31T18:06:54.056Z","0.3.0-beta-01":"2026-06-01T02:53:14.430Z","0.3.0-beta-02":"2026-06-01T04:15:49.850Z","0.3.0-beta-03":"2026-06-01T04:33:38.258Z","0.3.0-beta-04":"2026-06-01T04:43:29.386Z","0.3.0-beta-05":"2026-06-01T05:39:39.073Z","0.3.0":"2026-06-01T06:34:23.283Z","0.3.1":"2026-06-01T09:38:02.681Z","0.3.3":"2026-06-02T05:27:37.438Z"},"bugs":{"url":"https://github.com/ArnabXD/ntgcalls-napi/issues"},"license":"MIT","homepage":"https://github.com/ArnabXD/ntgcalls-napi#readme","repository":{"type":"git","url":"git+https://github.com/ArnabXD/ntgcalls-napi.git"},"description":"Thread-safe Rust N-API native bindings for libntgcalls","maintainers":[{"name":"arnabxd","email":"arnabparyali@gmail.com"}],"readme":"# @arnabxd/ntgcalls-napi\n\n[![npm Version](https://www.shieldcn.dev/npm/@arnabxd/ntgcalls-napi.svg?variant=secondary&theme=neutral&size=xs)](https://www.npmjs.com/package/@arnabxd/ntgcalls-napi)\n[![npm Total Downloads](https://www.shieldcn.dev/npm/dt/@arnabxd/ntgcalls-napi.svg?variant=secondary&theme=neutral&size=xs)](https://www.npmjs.com/package/@arnabxd/ntgcalls-napi)\n[![Release](https://www.shieldcn.dev/github/release/ArnabXD/ntgcalls-napi.svg?variant=branded&theme=neutral&size=xs)](https://github.com/ArnabXD/ntgcalls-napi/releases)\n[![CI](https://www.shieldcn.dev/github/ci/ArnabXD/ntgcalls-napi.svg?variant=secondary&theme=neutral&size=xs)](https://github.com/ArnabXD/ntgcalls-napi/actions)\n[![GitHub Stars](https://www.shieldcn.dev/github/stars/ArnabXD/ntgcalls-napi.svg?variant=secondary&theme=neutral&size=xs)](https://github.com/ArnabXD/ntgcalls-napi/stargazers)\n\n\n[![Platform Support](https://img.shields.io/badge/platforms-linux%20%7C%20macos%20%7C%20windows-orange?style=flat-square)](https://github.com/ArnabXD/ntgcalls-napi/releases)\n\n\n[![Lint · Biome](https://www.shieldcn.dev/badge/Lint-Biome-60A5FA.svg?logo=biome&variant=branded&theme=neutral&size=xs)](https://biomejs.dev)\n\nThread-safe Node-API (N-API) native bindings in Rust for `libntgcalls` (C-shared WebRTC library). Fully compatible with Node.js and Bun.\n\n---\n\n## 🚀 Key Features\n\n* **High-Level JS Wrapper**: Native bindings wrapped in a clean, standard `EventEmitter` class.\n* **Smart Parameter Mapping**: Automatically accepts either a JavaScript `number` or a `bigint` for Telegram Chat/User IDs, timestamps, and fingerprints, eliminating manual BigInt conversions.\n* **100% Thread-Safe Callbacks**: Translates background native C++ WebRTC thread events into Node.js event-loop tasks crash-free using N-API `ThreadsafeFunction`.\n* **Async Promise-Based API**: Non-blocking async operations (`create`, `connect`, etc.) delegated to a Tokio threadpool via safe one-shot synchronization channels.\n* **RPATH Isolation**: Automatically resolves the dynamic dependency `libntgcalls` relative to the native addon directory using `$ORIGIN/lib` RPATH (no need for `LD_LIBRARY_PATH`!).\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install @arnabxd/ntgcalls-napi\n```\n\n> [!NOTE]\n> The platform-specific binary is automatically downloaded at postinstall time, so compilation is not required under normal use.\n\n---\n\n## 🛠️ Prerequisites (For Compiling From Source)\n\n1. **Rust & Cargo**:\n   ```bash\n   curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n   ```\n2. **libntgcalls**:\n   Download the platform-appropriate `libntgcalls` shared library (`libntgcalls.so` / `libntgcalls.dylib` / `ntgcalls.dll`) from the [ntgcalls releases](https://github.com/pytgcalls/ntgcalls/releases/latest) and place it into the `./lib/` folder prior to compilation.\n\n---\n\n## 🏗️ Build Instructions\n\nTo compile the native binary from source:\n```bash\nnpm run build\n```\nThis runs `@napi-rs/cli` (`napi build --release --dts binding.d.ts`) which compiles the Rust crate and outputs `ntgcalls.node` in the package root.\n\n---\n\n## 📚 Quick Start Usage Example\n\n```typescript\nimport { NtgCalls } from '@arnabxd/ntgcalls-napi';\n\nconst ntg = new NtgCalls();\n\n// Register WebRTC event listeners (Fully typed!)\nntg.on('connection-change', (chatId, kind, state) => {\n  console.log(`Connection changed: chat=${chatId}, kind=${kind}, state=${state}`);\n});\n\nntg.on('stream-end', (chatId, streamType, streamDevice) => {\n  console.log(`Stream ended: chat=${chatId}, type=${streamType}, device=${streamDevice}`);\n});\n\n// Start a WebRTC session (supports either number or bigint!)\nconst chatId = -1001185324811n; \nconst offerSdp = await ntg.create(chatId);\n\nconsole.log('Generated WebRTC Offer SDP:', offerSdp);\n```\n\nFor comprehensive details on all available APIs, data structures, and best practices, check the **[Client Integration Guide (DOC.md)](DOC.md)**.\n\n---\n\n## 🙏 Credits & Acknowledgements\n\n- **[ntgcalls](https://github.com/pytgcalls/ntgcalls)** — the native C/C++ WebRTC library by the [pytgcalls](https://github.com/pytgcalls) team that this package binds to. All the heavy WebRTC lifting lives in `libntgcalls`; full credit for that work goes to its authors.\n- **[TgMusicBot](https://github.com/AshokShau/TgMusicBot)** by [**Ashok Shau**](https://github.com/AshokShau) — used as a reference for the call lifecycle and signaling flow this wrapper exposes.\n","readmeFilename":"README.md"}