{"bugs":{"url":"https://github.com/chakrit/msgpack-js/issues"},"dist":{"shasum":"2a172d79809f2afbea5de3e57e4e4992ad92ff95","tarball":"https://registry.npmjs.org/msgpack-js-v5/-/msgpack-js-v5-0.3.0-v5.tgz","integrity":"sha512-/vZXzJbVf5OnSHGJC94ZrLVXuD47nWJH5LNiiVJgtUssRA5VfSgeg1QRSq2bFmJU9P8YZhQM7CyM9clBWfqDpg==","signatures":[{"sig":"MEQCIC/4LRPiTRodVCz8MmtdVyLaUvYnPMPCh7EqPGGgj77MAiAep8f4PE8cBDnosg2ycN3hTjmtJxkFjSQ/q8itr/Ymww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"msgpack.js","name":"msgpack-js-v5","_from":".","author":{"name":"Tim Caswell","email":"tim@creationix.com"},"readme":"# MSGPACK-JS-V5\n\n**Please see the [original README.md][1] from the source repository for more\ninformation.**\n\nThis is a port of [creationix/msgpack-js][0] to support the new MsgPack v5\nspecification.\n\n* New spec: https://github.com/msgpack/msgpack/blob/master/spec.md\n* Old spec: https://github.com/msgpack/msgpack/blob/master/spec-old.md\n\nPlease feel free to open issues/pull requests for support/discussion.\n\n# INSTALL\n\n```sh\n$ npm i msgpack-js-v5 --save\n```\n\n# EXTENSION\n\nSince there is no way to encode `undefined` inside the msgpack spec, an extension point is\nused for this purpose. Specifically, the `fixext 1` type is used with all values being 0\nto indicate `undefined`. On the wire, it requires 3 bytes and should looks like this:\n\n```\n0xd4 | 0x00 | 0x00\n```\n\nWhere `|` is byte separator.\n\n# EXT / FIXEXT\n\nExtensions are encoded/decoded to and from a simple 2-elements array tuple of the form\n`[type, Buffer]`. Where `type` is the msgpack extension type identifier and `Buffer` is\nthe raw decoded value.\n\nSpecial case for `fixext 1` since it will always be 1-byte long a simple `[type, value]`\nis returned directly instead of wrapping it in node.js `Buffer`.\n\n# VERSIONING\n\nThis package will follows `msgpack-js` version for the time being. The version string will\nsimply be appended with `v5`.\n\nIf and when this package diverges from the original, we can start our own versioning. Or\nthis module could just be merged into the original `msgpack-js` module.\n\n [0]: https://github.com/creationix/msgpack-js\n [1]: https://github.com/creationix/msgpack-js/blob/master/README.markdown\n\n","scripts":{"test":"node test.js"},"_npmUser":{"name":"chakrit","email":"service@chakrit.net"},"testling":{"files":"test.js","browsers":["ie/9..latest","firefox/19..latest","chrome/25..latest","safari/latest","iphone/6","ipad/6"]},"repository":{"url":"git://github.com/chakrit/msgpack-js.git","type":"git"},"_npmVersion":"1.3.8","description":"msgpack encoder and decoder in pure javascript based on creationix/msgpack-js updated to match the new v5 specification with string support.","maintainers":[{"name":"chakrit","email":"service@chakrit.net"}],"contributors":[{"name":"Tim Caswell","email":"tim@creationix.com"},{"name":"Chakrit Wichian","email":"service@chakrit.net"}],"dependencies":{"bops":"~0.0.6"},"readmeFilename":"README.markdown","devDependencies":{"tape":"~1.0.2"},"_id":"msgpack-js-v5@0.3.0-v5","version":"0.3.0-v5"}