HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/ubuntu/.npm/registry.npmjs.org/ogg-packet/.cache.json
{"_id":"ogg-packet","_rev":"4-e736a1c01c0d255bc320208f81ec93e9","name":"ogg-packet","description":"Manually construct `ogg_packet` struct instances","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"ogg-packet","description":"Manually construct `ogg_packet` struct instances","keywords":["ogg","libogg","packet","ogg_packet","struct"],"version":"1.0.0","author":{"name":"Nathan Rajlich","email":"[email protected]","url":"http://tootallnate.net"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-ogg-packet.git"},"main":"./index.js","dependencies":{"ref-struct":"*"},"readme":"node-ogg-packet\n===============\n### Manually construct `ogg_packet` struct instances\n\nThis module lets you construct your own `ogg_packet` struct instances using\nJavaScript and Buffers. You'll most likely not need to use this module for any\npractical purposes, but it is useful for testing purposes.\n\nThe more common way to get _proper_ `ogg_packet` structs is via a decoded OGG file\nand node-ogg's `ogg.Decoder` class, or one of the codec's encoder classes like\nnode-vorbis' `vorbis.Encoder` class.\n\n\nInstallation\n------------\n\n``` bash\n$ npm install ogg-packet\n```\n\n\nExample\n-------\n\n``` javascript\nvar ogg_packet = require('ogg-packet');\n\n// create an `ogg_packet` struct instance\nvar packet = new ogg_packet();\n\n// the contents of the \"packet\"\nvar buf = new Buffer('hello world');\npacket.packet = buf;\npacket.bytes = buf.length;\n\n// this will be the first packet in the ogg stream\npacket.b_o_s = 1;\n\n// there will be more `ogg_packet`s after this one in the ogg stream\npacket.e_o_s = 0;\n\n// the \"granulepos\" is a time-constant value used by the codec decoder\npacket.granulepos = 12345;\n\n// the \"packetno\" should increment by one for each packet in the ogg stream\npacket.packetno = 0;\n\n// now send the packet off to an `ogg.Encoder` or\n// a codec-specific decoder like `vorbis.Decoder`...\n```\n\n\nAPI\n---\n\n### ogg_packet class\n\nA `ref-struct` class that mirrors the `ogg_packet` fields in the `ogg.h` file.\n\n``` c\ntypedef struct {\n  unsigned char *packet;\n  long  bytes;\n  long  b_o_s;\n  long  e_o_s;\n  ogg_int64_t  granulepos;\n  ogg_int64_t  packetno;\n} ogg_packet;\n ```\n","_id":"[email protected]","dist":{"shasum":"45b885721ac8f7dd5cf22391d42106ae533ac678","tarball":"https://registry.npmjs.org/ogg-packet/-/ogg-packet-1.0.0.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"tootallnate","email":"[email protected]"},"maintainers":[{"name":"tootallnate","email":"[email protected]"}],"directories":{}},"1.0.1":{"name":"ogg-packet","description":"Manually construct `ogg_packet` struct instances","keywords":["ogg","libogg","packet","ogg_packet","struct"],"version":"1.0.1","license":"MIT","author":{"name":"Nathan Rajlich","email":"[email protected]","url":"http://tootallnate.net"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-ogg-packet.git"},"main":"./index.js","dependencies":{"ref-struct":"*"},"gitHead":"27d254a0e9afe24b0283c59bc1fc7ee7918335b5","bugs":{"url":"https://github.com/TooTallNate/node-ogg-packet/issues"},"homepage":"https://github.com/TooTallNate/node-ogg-packet#readme","_id":"[email protected]","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"tootallnate","email":"[email protected]"},"dist":{"integrity":"sha512-dW1ok3BMnMikyXGDIgVEckWnlViW8JLWQV4qj9aN/rNRVqHlDYSlcIEtSIMH7tpuUOiIxAhY3+OxNdIOm6s17A==","shasum":"6b7d6c7a743c5f1ae9277c3b1271cac256af4785","tarball":"https://registry.npmjs.org/ogg-packet/-/ogg-packet-1.0.1.tgz","fileCount":4,"unpackedSize":4039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciX9kCRA9TVsSAnZWagAA4FUP/iDsOHzo4/MBS7OfeDd6\n/l2iRI5HjSgH+OUCsJ8qblnAvVwO8QkGM87o4+dobKt+WSUf0HHFKbiJvW2d\nV/P/cJ1qr63LDlamf92nP1fM7urWSR6sQ9d1PoCgVY5QXM4R8rcgq1yMPa+j\nbJLxJqdnXzcobIg5tLZrRXLw3Bw6zhl6QN2Cqomx7pBU0s1GMsVZjcf6krS2\n+uWqCRG4F90lCmEjxzBnjLIGmo7AjmJ955fKKxfE2sMcgNwdYnBuhw1EaJ0B\nwqhJyx6ruOFMiSM70hXUbWupLQwR2fMxcScMqgXKhCp9GIPrUwD0TflQqsVt\nowo/PEcGCsJ5Y7oYxiJLuo78OKnGatEU3gNFS61T8bbEkjTFbFYC2A1eXRE+\nkDnA+uW0aYxjsi+ovuz09bQ8ZQFJqLJXeHsvYW5pxEDZ7ShANQtHIu/Y28/R\nGn/MJUXQm5VqTEMQyWwkzIlDp8ZkktujULSDP59f9vXm+yW3xYQfwiFmUcWS\nluK6bUuxuM+hx20nDQjszXEaxD0XeFm5MSJKc7T+9iUpxXDXIKZx8sGEChK8\n3ywtqASlSROz5XiJqa2CJ8fJNs62ilFij21u+3iQVx+lu9sN7qbvCnXi0APU\nrQHhY8fyH25D3MTQ+9/bawyz3wwp2IDcDl8BjyBD74RDjNQZo61TXelTD2x+\nMjKG\r\n=L7s8\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"tootallnate","email":"[email protected]"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ogg-packet_1.0.1_1552514915552_0.46150205473317074"},"_hasShrinkwrap":false}},"readme":"node-ogg-packet\n===============\n### Manually construct `ogg_packet` struct instances\n\nThis module lets you construct your own `ogg_packet` struct instances using\nJavaScript and Buffers. You'll most likely not need to use this module for any\npractical purposes, but it is useful for testing purposes.\n\nThe more common way to get _proper_ `ogg_packet` structs is via a decoded OGG file\nand node-ogg's `ogg.Decoder` class, or one of the codec's encoder classes like\nnode-vorbis' `vorbis.Encoder` class.\n\n\nInstallation\n------------\n\n``` bash\n$ npm install ogg-packet\n```\n\n\nExample\n-------\n\n``` javascript\nvar ogg_packet = require('ogg-packet');\n\n// create an `ogg_packet` struct instance\nvar packet = new ogg_packet();\n\n// the contents of the \"packet\"\nvar buf = new Buffer('hello world');\npacket.packet = buf;\npacket.bytes = buf.length;\n\n// this will be the first packet in the ogg stream\npacket.b_o_s = 1;\n\n// there will be more `ogg_packet`s after this one in the ogg stream\npacket.e_o_s = 0;\n\n// the \"granulepos\" is a time-constant value used by the codec decoder\npacket.granulepos = 12345;\n\n// the \"packetno\" should increment by one for each packet in the ogg stream\npacket.packetno = 0;\n\n// now send the packet off to an `ogg.Encoder` or\n// a codec-specific decoder like `vorbis.Decoder`...\nstream.packetin(packet.buffer, function (err) { /* ... */ });\n```\n\n\nAPI\n---\n\n### ogg_packet class\n\nA `ref-struct` class that mirrors the `ogg_packet` fields in the `ogg.h` file.\n\n``` c\ntypedef struct {\n  unsigned char *packet;\n  long  bytes;\n  long  b_o_s;\n  long  e_o_s;\n  ogg_int64_t  granulepos;\n  ogg_int64_t  packetno;\n} ogg_packet;\n ```\n","maintainers":[{"name":"tootallnate","email":"[email protected]"}],"time":{"modified":"2019-03-13T22:08:38.320Z","created":"2012-12-02T20:50:12.835Z","1.0.0":"2012-12-02T20:50:13.682Z","1.0.1":"2019-03-13T22:08:35.713Z"},"author":{"name":"Nathan Rajlich","email":"[email protected]","url":"http://tootallnate.net"},"repository":{"type":"git","url":"git://github.com/TooTallNate/node-ogg-packet.git"},"homepage":"https://github.com/TooTallNate/node-ogg-packet#readme","keywords":["ogg","libogg","packet","ogg_packet","struct"],"bugs":{"url":"https://github.com/TooTallNate/node-ogg-packet/issues"},"license":"MIT","readmeFilename":"README.md","_etag":"W/\"fccd72751084b07051ae7266eafdcae4\"","_lastModified":"Wed, 13 Mar 2019 22:08:39 GMT"}