{"name":"cbor-extract","version":"2.0.0","author":{"name":"Kris Zyp"},"license":"MIT","_id":"cbor-extract@2.0.0","maintainers":[{"name":"kriszyp","email":"kriszyp@gmail.com"}],"homepage":"https://github.com/kriszyp/cbor-extract#readme","bugs":{"url":"https://github.com/kriszyp/cbor-extract/issues"},"dist":{"shasum":"87c8c6804158952b93b9c59bb27fde490928ebc1","tarball":"http://registry-npm.ywwl.com/cbor-extract/download/cbor-extract-2.0.0.tgz","fileCount":6,"integrity":"sha512-sxUdWCk7r/WtzXkamgIsK198szkCMpcc/5JJMLrcd/Zx2Bv6jIuveP7IGjmgFYm7EgzLUhvDLzut+BrDXJ6piA==","signatures":[{"sig":"MEUCIQDON8spx9hiTjC51kw3zg7xs5VkwvD9zsIX9QdPluVu0gIgDNSd56HfuL0gRRH2LoiIxvMUc+bTV7V2xbQordavWmM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihRtxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTwRAAn2bO2oTbIbpO5iGC0H1+syivgCcaEgyhzITkGKc9XJboQDVi\r\nAZWYE6le8r5usjYohQSNH1Tx+2xGNEuoTg6SLBnoit2KjPRgSYuYCs4b8obH\r\nqa1dPqlwLDcAMaotsDjEOZu9o1pKWapEGKbqF0u1LAaHSmE/gKZ6k3SC2EJx\r\nGxJLPFu+Uazh9p5E2Wdh3dxPcUOUco8gn/Ya9KYNuXkb5N3XSBFrHS2tb04X\r\n3kbn5xqMUylV3P61YTqLZuEzertO0xxSf2+eRB8TmoLk0pRZjZUDQZclAbQK\r\n22R/PvJrU0FpIxAVgPoEiYiS6tEZdMOlEtHZ9lGwGSbvY7CE0M/rmUTMP7Ur\r\nPrtzU2XvXne8temrW/ZSZ1fBpxITXuKkPVYH2CzTkN9lBcDoRPWruDCNN8/s\r\n/UlFXToQ/6tQoHXp3PVtuwzz29pwKPqVRczwqRR0nv8Q5wvc3S24T3tYfUh0\r\nfaxa8hjKxnP+mhx+ESwqyuenf+++5HzHYjthAetQ+QDGDBYfapr0v/WvQ6S4\r\n8IlWIhpKgfLF4kFhbJRBCMzZUv3rn/xMdLgJ3VgsKRTbpwfHk6jfEesptB33\r\nNts46WWFrKDzWzn6lhd/MoGLWDFm9IqImwn1nUy7jVpPisXdN8emOMCqZ+4E\r\nZw+PsI35T+iVpvr+NsWsjuvnAs59r2gvwxw=\r\n=kuZB\r\n-----END PGP SIGNATURE-----\r\n","size":4265,"noattachment":false,"key":"/cbor-extract/-/cbor-extract-2.0.0.tgz"},"main":"./index.js","gitHead":"56522f5cb433f7e2ea84fafe3efeb6e495832d6c","gypfile":true,"scripts":{"test":"node ./index.js","install":"node-gyp-build-optional-packages","prebuild":"prebuildify --target 16.14.2","recompile":"node-gyp clean && node-gyp configure && node-gyp build","publish-all":"cd prebuilds/win32-x64 && npm publish --access public && cd ../darwin-x64 && npm publish --access public && cd ../darwin-arm64 && npm publish --access public && cd ../linux-x64 && npm publish --access public && cd ../linux-arm64 && npm publish --access public  && cd ../linux-arm && npm publish --access public && cd ../.. && npm publish --access public","prebuild-libc":"prebuildify --tag-libc --target 16.14.2 && ENABLE_V8_FUNCTIONS=false prebuildify --platform-packages --napi --tag-libc --target 16.14.2","before-publish":"prebuildify-ci download && prebuildify --target 16.14.2 && set ENABLE_V8_FUNCTIONS=false&& prebuildify --platform-packages --napi --target 16.14.2 && node set-optional-deps.cjs"},"_npmUser":{"name":"kriszyp","email":"kriszyp@gmail.com"},"repository":{"url":"git+ssh://git@github.com/kriszyp/cbor-extract.git","type":"git"},"_npmVersion":"8.3.1","description":"Node addon for string extraction for cbor-x","directories":{},"_nodeVersion":"16.14.0","dependencies":{"node-gyp-build-optional-packages":"5.0.1","@cbor-extract/cbor-extract-linux-arm":"2.0.0","@cbor-extract/cbor-extract-linux-x64":"2.0.0","@cbor-extract/cbor-extract-win32-x64":"2.0.0","@cbor-extract/cbor-extract-darwin-x64":"2.0.0","@cbor-extract/cbor-extract-linux-arm64":"2.0.0","@cbor-extract/cbor-extract-darwin-arm64":"2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"prebuildify":"github:kriszyp/prebuildify#optional-packages","prebuildify-ci":"^1.0.5"},"optionalDependencies":{"@cbor-extract/cbor-extract-linux-arm":"2.0.0","@cbor-extract/cbor-extract-linux-x64":"2.0.0","@cbor-extract/cbor-extract-win32-x64":"2.0.0","@cbor-extract/cbor-extract-darwin-x64":"2.0.0","@cbor-extract/cbor-extract-linux-arm64":"2.0.0","@cbor-extract/cbor-extract-darwin-arm64":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cbor-extract_2.0.0_1652890481340_0.8615063339827245","host":"s3://npm-registry-packages"},"readme":"## Summary\nThis module is designed to do fast and efficient native/C-level extraction of strings from CBOR binary data. This works by calling `extractStrings(buffer, start, end)`, and it will extract strings by doing partial CBOR parsing, and scanning to find the string data in the range specified in the buffer. It will return an array of strings that it finds. When it finds strings that can be represented with latin-1/one-byte strings (and important V8 optimization), it will attempt return a continuous string of CBOR data that contains multiple sub-strings, so the decoder can slice off strings by offset. When a string contains non-latin characters, and must be represented as a two-byte string, this will always be returned as the string alone without combination with any other strings. The extractor will return an array of a maximum of 256 strings. The decoder can call the extractStrings again, with a new offset to continue extracting more strings as necessary.\n\n## License\nMIT","publish_time":1652890481552,"_cnpm_publish_time":1652890481552,"dist-tags":{"latest":"2.2.3"}}