{"_id":"@coboxcoop/schemas","_rev":"1-771773fba13ebcd8204ff82c05f40fbf","name":"@coboxcoop/schemas","dist-tags":{"latest":"1.0.0-alpha.1"},"versions":{"1.0.0-alpha.1":{"name":"@coboxcoop/schemas","version":"1.0.0-alpha.1","description":"schemas and buffer encoders for log messages","author":{"name":"magma collective"},"license":"AGPL-3.0-or-later","main":"index.js","scripts":{"test":"tape test/**/*.test.js | tap-nirvana","compile":"node compile.js"},"dependencies":{"is-my-json-valid":"^2.20.0","lodash":"^4.17.15","lodash.get":"^4.4.2","protocol-buffers-encodings":"^1.1.0"},"devDependencies":{"nyc":"^15.0.0","protocol-buffers":"^4.1.0","random-words":"^1.1.0","tap-nirvana":"^1.1.0","tape":"^4.13.0","tape-plus":"^1.0.0"},"repository":{"type":"git","url":"git+https://gitlab.com/coboxcoop/schemas.git"},"bugs":{"url":"https://gitlab.com/coboxcoop/schemas/issues"},"homepage":"https://cobox.cloud","_id":"@coboxcoop/schemas@1.0.0-alpha.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-7MRyNktAHQh9Xl9nEDsuyfOns248t9VsBtoFTj+mCUGDwD2NRhkBwApVXHNNruOU3tdeJw/uuSyzGLLStKXsaw==","shasum":"fdecf6ba70658055b9ad9524dcb6d213c7465967","tarball":"https://registry.npmjs.org/@coboxcoop/schemas/-/schemas-1.0.0-alpha.1.tgz","fileCount":49,"unpackedSize":140048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIbHpCRA9TVsSAnZWagAA7ZUP/2A8YMvTzgH1OtCZGwgo\n7ssXkw8ua6GbRJkJoMrNOiT00KosaOmoYsiz+PBg4nAaihTBzNfqPOO/lzz/\nIdSEFiKhFOLg/kUN2jvBHA0v2dGmlJBufHGVI8EE117xJ1lUW2YByCRX4DQ/\n5qTf74djY1MHMRu83dC0akFX2GmIvqLkYKp6yqt7DRFalv0ABl4gAjw3SQ25\n0iSIm0uzpzUhGszQU4bCWR8dDuRTCan78UlDXs3g/CnJ0B+69REQCEeBjTAP\nVrdbTcwq0lVN4VCQMiHQEa803+APWtgqwDV7yE6K+mDIA9yVUHJFJlh+QpTc\njfL5qGn3gD9PuVE1EH+ks24FFvp6hJWHgPTUlM2gFrJlflPf8+X3PpD9HY1x\nN0z+Nkp9ae5CdtVuPQOjjodrFL6DUsbiZNCVBpueB0SXIXwF04TJQbVv2ZP9\ndNrg0eGXYGOb0076BdKeN69+PrSgE9TH4LDevyE5AowV2/nRpE9Dg+nM9Nf5\nHL7qo6+63d9rL5FcdzV8fLI4H6LllUzLZIbueEVnkK0+UWaJaSJWHkh+iEG5\nOkcZZvOn53aGTUuw85Po5B7VF39OO4bWU5GD/VOMJZZpFsiLAFKZTtwVaTtW\nSGRLigfIEzOfbhJ6Yo6ohU7aiMjvJ6VNzc8jwPsxc7EOJit52REK/VKRyAH+\nBBmP\r\n=uoEt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb9kTKD1ckKzE5lzd3Em0iF4C62KHwrdI847dkuWIWAQIgSPEBp0qGSXgPp/kfH0vF+BWK/7C4X/nhMZjZPUAdRjk="}]},"maintainers":[{"name":"ameba23","email":"ameba23@systemli.org"},{"name":"kyphae","email":"kieran@tenthousandthings.org.uk"}],"_npmUser":{"name":"kyphae","email":"kieran@tenthousandthings.org.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/schemas_1.0.0-alpha.1_1596043752904_0.46533556676550436"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-29T17:29:12.644Z","1.0.0-alpha.1":"2020-07-29T17:29:13.018Z","modified":"2022-04-04T23:54:03.289Z"},"maintainers":[{"name":"ameba23","email":"ameba23@systemli.org"},{"name":"kyphae","email":"kieran@tenthousandthings.org.uk"}],"description":"schemas and buffer encoders for log messages","homepage":"https://cobox.cloud","repository":{"type":"git","url":"git+https://gitlab.com/coboxcoop/schemas.git"},"author":{"name":"magma collective"},"bugs":{"url":"https://gitlab.com/coboxcoop/schemas/issues"},"license":"AGPL-3.0-or-later","readme":"# schemas\n\n<div align=\"center\">\n  <img src=\"https://cobox.cloud/src/svg/logo.svg\">\n</div>\n\n[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n\n## Table of Contents\n\n  - [About](#about)\n  - [Install](#install)\n  - [Usage](#usage)\n  - [API](#api)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n## About\n**CoBox** is an encrypted p2p file system and distributed back-up tool. [README](https://gitlab.com/coboxcoop/readme) provides a map of the project.\n\n`schemas` exports a set of object factories for use with a hypercore. Factories build payloads for a cobox-log using JSON schemas for validation and Protocol Buffers for encoding.\n\n## Install\n```\nnpm i -g @coboxcoop/schemas\n```\n\n## Usage\nThis module also exports all currently used message schemas in CoBox as raw validators and encoders.\n\nSee `/test` for examples\n\nIn order to use the protocol-buffers message encoders, you'll need to pre-compile them.\n\n```\nnpm run compile\n```\n\n## API\nSee swagger documentation... (we won't have this for a while).\n\n## Contributing\n\nPRs accepted.\n\nSmall note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n# License\n\n[`AGPL-3.0-or-later`](./LICENSE)\n","readmeFilename":"README.md"}