0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 20:25:12 -05:00
denoland-deno/tests/registry/npm/asn1/registry.json

1 line
3.7 KiB
JSON

{"name":"asn1","description":"Contains parsers and serializers for ASN.1 (currently BER only)","dist-tags":{"latest":"0.2.6"},"versions":{"0.2.6":{"author":{"name":"Joyent","url":"joyent.com"},"name":"asn1","description":"Contains parsers and serializers for ASN.1 (currently BER only)","version":"0.2.6","repository":{"type":"git","url":"git+https://github.com/joyent/node-asn1.git"},"main":"lib/index.js","dependencies":{"safer-buffer":"~2.1.0"},"devDependencies":{"istanbul":"^0.3.6","faucet":"0.0.1","tape":"^3.5.0","eslint":"2.13.1","eslint-plugin-joyent":"~1.3.0"},"scripts":{"test":"tape ./test/ber/*.test.js"},"license":"MIT","gitHead":"c80ab61a3ba35d77deb0a44b9c2bb7abc246dc09","bugs":{"url":"https://github.com/joyent/node-asn1/issues"},"_id":"asn1@0.2.6","_nodeVersion":"12.22.7","_npmVersion":"6.14.13","dist":{"integrity":"sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==","shasum":"0d3a7bb6e64e02a90c0303b31f292868ea09a08d","tarball":"http://localhost:4260/asn1/asn1-0.2.6.tgz","fileCount":10,"unpackedSize":19757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2j12CRA9TVsSAnZWagAAAMsP/0OlnHNAA18YRr7ioggR\n0/2/6wNWwbA6EpcIUZiWmdaWoWfQBVWKkXRjNT0zLiW0ck1rYrrg9P+DCgXK\nsxW6zBlYirwR8Og2uuxH+Ja2n3CZdZfLo/qifjfViDH2ibbrdF5j2WwKfkeE\nW6SvhktnocxEV1d+9+0fDn+8uC44H/A547c58Ed4HXYCrLKEXwbCb15oppSt\n7qbqGo/Cpht/pBK3P/8RMTNaGifiNp129YL5CfGo5CDUXRF1z6ofZUpFLKt1\n6X0hd7Iok4o+s8JBHDIUhpeMX7Komdz4jX/i+wwzuHldsmg2BeDo5n7VLkl8\nEsnMCQsnrn6ZTWO+QsCxWO+80Fr7+ADtfTm8XDAUR2I+LMtTjC53CcIDaikx\nicieoULaI/Bnq0Bwndtwi2yyog4pAyCZIISNA//WDbbDgzmFEoCUb6L8WTAH\nDD63RiXCDq1gXa3AVaIgn/1PCVNO3ox69lEx5HKPdPHXzX4hObRPOt2+x9QA\nPR1/r4wYO8+awxWCxvbvto8lpmU+9O/QrECqqzqEs/GDUGfBHYHeC5tHb+is\nI/KiqTsgi274xy7jSIjFzL8o4x0xeE5GuHAi7g4gAw/YzxmA5wgOohQ/aqva\ncrjx0nnNVWsQvgf/5Tmf6FK2J3xxaY2n56Gwb4ClQ4G2PzyUDpLskjQMtZk0\n1zf9\r\n=FhY3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh8rHXgZYfiyydIhYCAvX5qKC8LudijMiGGIeoviWu6gIgHcEVesBYAyn1gYDWhR8vKfZd4gil1GtyOlz0Bsp4bm4="}]},"directories":{},"_hasShrinkwrap":false}},"author":{"name":"Joyent","url":"joyent.com"},"repository":{"type":"git","url":"git+https://github.com/joyent/node-asn1.git"},"readme":"node-asn1 is a library for encoding and decoding ASN.1 datatypes in pure JS.\nCurrently BER encoding is supported; at some point I'll likely have to do DER.\n\n## Usage\n\nMostly, if you're *actually* needing to read and write ASN.1, you probably don't\nneed this readme to explain what and why. If you have no idea what ASN.1 is,\nsee this: ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc\n\nThe source is pretty much self-explanatory, and has read/write methods for the\ncommon types out there.\n\n### Decoding\n\nThe following reads an ASN.1 sequence with a boolean.\n\n var Ber = require('asn1').Ber;\n\n var reader = new Ber.Reader(Buffer.from([0x30, 0x03, 0x01, 0x01, 0xff]));\n\n reader.readSequence();\n console.log('Sequence len: ' + reader.length);\n if (reader.peek() === Ber.Boolean)\n console.log(reader.readBoolean());\n\n### Encoding\n\nThe following generates the same payload as above.\n\n var Ber = require('asn1').Ber;\n\n var writer = new Ber.Writer();\n\n writer.startSequence();\n writer.writeBoolean(true);\n writer.endSequence();\n\n console.log(writer.buffer);\n\n## Installation\n\n npm install asn1\n\n## License\n\nMIT.\n\n## Bugs\n\nSee <https://github.com/joyent/node-asn1/issues>.\n","readmeFilename":"README.md","homepage":"https://github.com/joyent/node-asn1#readme","bugs":{"url":"https://github.com/joyent/node-asn1/issues"},"license":"MIT"}