{"name":"protodef","version":"1.7.2","description":"A simple yet powerful way to define binary protocols","main":"index.js","author":{"name":"roblabla","email":"robinlambertz.dev@gmail.com"},"scripts":{"prepare":"require-self","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.2.2","readable-stream":"^3.0.3"},"engines":{"node":">=6"},"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","require-self":"^0.1.0","standard":"^12.0.1"},"gitHead":"806878f1202740d33c253de29f405c1eeca8bae8","_id":"protodef@1.7.2","_nodeVersion":"12.18.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Sbv0x7rH4yJuAe979auycFZgzqlKt9kM5FGSYa4QYF8ylG+x7C23Zk0jUYTenG1d5CUNzYiKjSfYZGTVnqY8UQ==","shasum":"7678ebbb70176d4f590d1cf4b8d3f6306dbedb51","tarball":"http://registry-npm.ywwl.com/protodef/download/protodef-1.7.2.tgz","fileCount":52,"unpackedSize":149611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4UT7CRA9TVsSAnZWagAABKsQAJ6bq6M7ERAsx6RkSz3K\n9wCTJi25S8V58ZNXo5vhUqUZ2oRDXAKQaxfLJQmTwQL+Hqf8+iD0ItvYkfjx\nxoeABucnNR/IwVdufEyNy6p5gBRntzvZ/YKdZMcFW55VCyAxf6XYYzNSZlo7\n29H2prRaUvG3gGxOy/MN7RMmT6yKYQZiDDtZQUmtA+Yh28RtVPEvL/8PLhAu\nT2sUALt14EAkuV/6qONKxCZsnHbvdRQqMq/CaPNzV+erytOzt9epGsHpKl3H\nxOFMCKB9sROnP8FoY57jeCtMaJ8MHe3NMQlR8LnFOnePH9N/S8G9E68otXOC\nWLbIS+MCzCnL9/T93j0G/g8odjJAFly4ylyQrbSKLPcbCQzI7ve4CkvfJiHY\n6SYNRUX68YzKtYMvKPGd4POkAx54Rwg13WOcmTOFWD4Y8R+8gpEBJNlsnq43\nSYlp1jsZknE8jV/TszlgxeOYjnoGIIkNGpTzssdgcmlaQtVLntTD/j+GT6lz\nCi6FuObHJbeF45n5bgTATyxMqhbOU+GuuHD88yz/dOKcsbO+krJoRYGd/YuF\nXoX/E007Okf0wFAqj3B1XfmqxESSg2NtHCtCCvWP/x3o/z77Bx2cSZ+VTxdd\nV5wq4futL+J+/+2cw+QOGwnIwlGetlozjHFKzSKCe1uH1SgNSzrxrwesxC0G\nn4Hj\r\n=gqAd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2lDKgRebS2bQRw0F56OjDX0X66Yd1v2wV9GTTRh2ziAIhAI8uw0V0QMJ5QYQtnmDTTR/FOa43D6fSHseF46JmNvib"}],"size":29160,"noattachment":false,"key":"/protodef/-/protodef-1.7.2.tgz"},"maintainers":[{"name":"roblabla","email":"robinlambertz.dev@gmail.com"},{"name":"rom1504","email":"romain.rom1@gmail.com"}],"_npmUser":{"name":"rom1504","email":"romain.rom1@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/protodef_1.7.2_1591821562814_0.11920586432664315"},"_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":1591821562977,"_cnpm_publish_time":1591821562977,"dist-tags":{"latest":"1.19.0"}}