{"name":"protodef","version":"1.15.0","description":"A simple yet powerful way to define binary protocols","main":"index.js","author":{"name":"roblabla","email":"robinlambertz.dev@gmail.com"},"scripts":{"lint":"standard","fix":"standard --fix","unit-test":"mocha --recursive --reporter spec","test":"npm run lint && npm run unit-test","benchmark":"mocha benchmark/benchmark_unified.js"},"tonicExampleFilename":"example.js","license":"MIT","dependencies":{"lodash.get":"^4.4.2","lodash.reduce":"^4.6.0","protodef-validator":"^1.3.0","readable-stream":"^3.0.3"},"engines":{"node":">=14"},"bugs":{"url":"https://github.com/ProtoDef-io/node-protodef/issues"},"homepage":"https://github.com/ProtoDef-io/node-protodef","repository":{"type":"git","url":"git+https://github.com/ProtoDef-io/node-protodef.git"},"devDependencies":{"benchmark":"^2.1.4","chai":"^4.1.2","jsonschema":"^1.2.4","mocha":"^5.2.0","protodef":"file:.","standard":"^16.0.3"},"gitHead":"e008e688d52478d82926888a59d85d79704ff462","_id":"protodef@1.15.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-bZ2Omw8dT+DACjJHLrBWZlqN4MlT9g9oSpJDdkUAJOStUzgJp+Zn42FJfPUdwutUxjaxA0PftN0PDlNa2XbneA==","shasum":"ce7cfcb95730bac1a56a8a859cc3868d2f6f1936","tarball":"http://registry-npm.ywwl.com/protodef/download/protodef-1.15.0.tgz","fileCount":61,"unpackedSize":168718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCBEACRA9TVsSAnZWagAABqAP/A7LW4xUMh9HQh7OTnp4\nFZpy499W5195AN1OtPwV5l1ozoNFOYG7W1//FcAlOUSmhlYJlbPKPSWpGv+i\ndraMJSz51Xn769Nwd5X8Rwtf1aLkCwh8Pq0rWukZiiBFI9dj7n7zx+4ItNI7\nEJyBhAhV0wx8qYlk/n2j+qTHZnLYq77QKdF9xFE43z5phVKZMWT4wYqh9hAW\nb/wEqDLGklIfQVTOx3EfL9bWQ38XP/hzhWvj1HzfNMjf+4JhEVQ8nfrsw1nB\n8lOz84G0gQoE3CVOzwYEBPNIgZeS5K3j6D0kEyIquXY2Pr7lCcRg8kPijks4\n1FbrHXcG4OMO9RIwsTAbe7+ZfNx8ibVkoa+iCph0R68stZZl8x7qw29TfWnu\n1gOSXuKFNDSPxfhniW2mZiHizRSJWeQdj/6pRRGkB5GaQGYJUG7nti466I7j\nTPQrf04/4NFdQaiqVgvoHmwG6eUFd7HxaN05W870QrPNkVaAHSgIcb5aPdoz\nJAwJ3NETyOnYNZpCb3y5Jsf2Fs0ngkge4AOW4IN+vq/rtTWyOI0fDzENdKDY\nhR9A3ceAnKFBF43alCpUcDm031PFG4aeIDcKtJDZi51KaWpxLc7x45w1YCYE\nPH765TQallhp5csEJAefZiZadLIhhncjlAK/Q8LGNdChv5/XH6Vxgp91Bzcs\n9mUj\r\n=t1ht\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcWhfv8lcUr3NOyI5k7Q3hHLI9cq8Q1wt+CGGUWg2WkQIgISBzTQeQ2rGpkb8dygASbQeoAETRDjzc/99zh7W1ayA="}],"size":33501,"noattachment":false,"key":"/protodef/-/protodef-1.15.0.tgz"},"_npmUser":{"name":"rom1504","email":"romain.rom1@gmail.com"},"directories":{},"maintainers":[{"name":"rom1504","email":"romain.rom1@gmail.com"},{"name":"roblabla","email":"robinlambertz.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/protodef_1.15.0_1644695808693_0.5029220138847412"},"_hasShrinkwrap":false,"readme":"# ProtoDef\n[![NPM version](https://img.shields.io/npm/v/protodef.svg)](http://npmjs.com/package/protodef)\n[![Discord](https://img.shields.io/badge/chat-on%20discord-brightgreen.svg)](https://discord.gg/GsEFRM8)\n[![Gitter](https://img.shields.io/badge/chat-on%20gitter-brightgreen.svg)](https://gitter.im/PrismarineJS/general)\n[![Irc](https://img.shields.io/badge/chat-on%20irc-brightgreen.svg)](https://irc.gitter.im/)\n[![Build Status](https://github.com/ProtoDef-io/node-protodef/workflows/CI/badge.svg)](https://github.com/ProtoDef-io/node-protodef/actions?query=workflow%3A%22CI%22)\n[![Tonic](https://img.shields.io/badge/tonic-try%20it-blue.svg)](https://tonicdev.com/npm/protodef)\n[![Try it on gitpod](https://img.shields.io/badge/try-on%20gitpod-brightgreen.svg)](https://gitpod.io/#https://github.com/ProtoDef-io/node-protodef)\n\nThis is a node.js module to simplify defining, reading and writing binary blobs,\nwhether they be internet protocols or files.\n\n## Installing\n\n```\nnpm install ProtoDef\n```\n\n\n## Usage\n\nSee [example](example.js)\n\n## Documentation\n\nSee the language independent [ProtoDef](https://github.com/ProtoDef-io/ProtoDef) specification.\n\n* [api.md](doc/api.md) documents the exposed functions and classes\n* [compiler.md](doc/compiler.md) documents the ProtoDef Compiler\n* [datatypes.md](https://github.com/ProtoDef-io/ProtoDef/blob/master/doc/datatypes.md) documents the default datatypes provided by Protodef.\n* [newDatatypes.md](doc/newDatatypes.md) explains how to create new datatypes for protodef\n* [history.md](doc/history.md) is the releases history\n\n## Projects Using ProtoDef\n\n* [minecraft-protocol](https://github.com/PrismarineJS/node-minecraft-protocol) defines a protocol.json by minecraft version and use ProtoDef to serialize and parse packets\n  * the protocol.json files are stored in [minecraft-data](https://github.com/PrismarineJS/minecraft-data/blob/master/data/pc/1.8/protocol.json)\n  * and they can be visualized automatically in this [doc](http://prismarinejs.github.io/minecraft-data/?d=protocol)\n* [prismarine-nbt](https://github.com/PrismarineJS/prismarine-nbt) defined a nbt.json to parse and serialize the NBT format\n* [mineflayer](https://github.com/PrismarineJS/mineflayer/blob/master/lib/plugins/command_block.js) uses ProtoDef to parse plugin messages\n* [minecraft-protocol-forge](https://github.com/PrismarineJS/node-minecraft-protocol-forge) parses and serialize forge plugin messages\n* [node-raknet](https://github.com/mhsjlw/node-raknet) describe the raknet protocol in a protocol.json and uses ProtoDef to read it\n* [minecraft-classic-protocol](https://github.com/mhsjlw/minecraft-classic-protocol) defines the classic minecraft protocol with ProtoDef\n* [pocket-minecraft-protocol](https://github.com/mhsjlw/pocket-minecraft-protocol) defines the minecraft pocket edition protocol\n* [diablo2-protocol](https://github.com/MephisTools/diablo2-protocol) Diablo 2 network protocol\n* [dofus-protocol](https://github.com/AstrubTools/dofus-protocol) Network protocol for dofus : create client and servers for dofus 1.30\n\n","publish_time":1644695808830,"_cnpm_publish_time":1644695808830,"dist-tags":{"latest":"1.19.0"}}