{"_id":"@apsiocoin/marshall","name":"@apsiocoin/marshall","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"version":"0.0.1","name":"@apsiocoin/marshall","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/Nicolas82/marshall.git"},"scripts":{"test":"jest","build":"tsc && webpack --config webpack.config.js --env","prepublishOnly":"npm run build"},"author":{"name":"apsiocoin"},"contributors":[{"name":"Nicolas Saysset","email":"nicolassaysset@free.fr"},{"name":"Luc Gireaud","email":"luc.gireaud@gmail.com"}],"license":"MIT","devDependencies":{"@types/jest":"^24.0.13","@types/long":"^4.0.0","@types/node":"^12.12.3","bignumber.js":"^8.0.1","jest":"^24.8.0","terser-webpack-plugin":"^1.2.3","ts-jest":"^24.0.2","ts-loader":"^5.3.3","ts-node":"^8.0.2","typescript":"^3.1.6","webpack":"^4.30.0","webpack-cli":"^3.3.0"},"dependencies":{"@apsiocoin/ts-types":"^0.0.3","@types/base64-js":"^1.2.5","@types/long":"^4.0.0","@waves/parse-json-bignumber":"^1.0.1","base64-js":"^1.3.0","long":"^4.0.0"},"gitHead":"dd0cdadfd6e47be9d0bba56071a93fe8dfef4347","description":"Marshall can serialize and parse Waves blockchain data structures","bugs":{"url":"https://github.com/Nicolas82/marshall/issues"},"homepage":"https://github.com/Nicolas82/marshall#readme","_id":"@apsiocoin/marshall@0.0.1","_nodeVersion":"17.3.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-YSQucDEn7gxUQM32VUZ6XAn6WxwfT4AmwWz/Xe240YhhtdqriunPrKsZvh3WVCIt41EcUGqNaoRnhw58B71lug==","shasum":"166e40415af38a5c684521e0242028e2f96af5b0","tarball":"https://registry.npmjs.org/@apsiocoin/marshall/-/marshall-0.0.1.tgz","fileCount":48,"unpackedSize":201371,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEH4tnE1qia2+ej5UkoZjYNUl07axk21Gh/Ufx63G30AiEAuH1MD6Vo0eTsO/NYz7JUb+4y36BsKDjABAKISKMEuvA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigOOSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8Iw/+L47CvgkQTPwbB4K+rY9wyxB7m249sHtyjvl8I7rr28kwk0X0\r\nGw/3jCgJwglex/9KNnDPaAa3rW6WnJquguAp/SAK09zD5kI4kHpduxadS/dN\r\ntFlwO+vGqBLqjrB3/bKztf62EgS5QQRMkO+4yhCy9lOuPVBv7ALNlA7XsLXO\r\nyrB8fUBqmbWwX0z8JQrdCMI4CJlT7pPyT/HZdf6tGHXS+gxW6He0veanLPNY\r\n07PtjuD6d0/qtfN9opYY1MCLrCSpsi9u2y9Y4VBgub594iVv8h1EJQJd3Dne\r\ncLoCa+Ac8stAlgeRjrS9ZtasPkHNAw7DR4ATRNSCo4rnKsW54+eUNSEylPA2\r\nsSLh0V5oJeH2lmZqlBujLfwYbHxza0WX12GSd+87Lf/OepxU4ce377VbK7EU\r\ntDrXl9lc+vSRbfSEGwleTxFvmV/sLV2WYH8kI2lvjq6iHmWDV3dfU6ntwctE\r\nzTkhW/OKcSlLZ6SKGKNSdWR2zjID4L7v90v199yRMCPuWiu2Bdiy4aBdJ2hQ\r\nA8Ty6CSMTb1k98oA6VUbZOB4efeXl0cu+gk8pDZkymlPwjWo8w889SuhfNNT\r\nui1aAFnHae2Mo1nPjjkuJ7KoJkaH63m8LUB5oDPFcXnf3mywAK1DHSmAlPTo\r\n/ggNf9r3Y7yKawiKT+hI/Dc33RrwY2x8/WE=\r\n=zGqD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pythou","email":"nicolassaysset@free.fr"},"directories":{},"maintainers":[{"name":"pythou","email":"nicolassaysset@free.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/marshall_0.0.1_1652614034689_0.5861720905142758"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-15T11:27:14.632Z","0.0.1":"2022-05-15T11:27:14.823Z","modified":"2022-05-15T11:27:14.962Z"},"maintainers":[{"name":"pythou","email":"nicolassaysset@free.fr"}],"description":"Marshall can serialize and parse Waves blockchain data structures","homepage":"https://github.com/Nicolas82/marshall#readme","repository":{"type":"git","url":"git+https://github.com/Nicolas82/marshall.git"},"contributors":[{"name":"Nicolas Saysset","email":"nicolassaysset@free.fr"},{"name":"Luc Gireaud","email":"luc.gireaud@gmail.com"}],"author":{"name":"apsiocoin"},"bugs":{"url":"https://github.com/Nicolas82/marshall/issues"},"license":"MIT","readme":"# @apsiocoin/marshall\n\nMarshall can serialize and parse Waves blockchain data structures\n\n### Includes:\n- Serialization primitives\n- Parsing primitives\n- Binary to js converters\n- Js to binary converters\n- JSON to js converters\n- Js to JSON converters\n\n### Usage:\n```javascript\nimport { binary, json } from 'parse-serialize'\n\nconst tx = {\n  type: 10,\n  version: 2,\n  fee: 100000,\n  senderPublicKey: '7GGPvAPV3Gmxo4eswmBRLb6bXXEhAovPinfcwVkA2LJh',\n  timestamp: 1542539421565,\n  id: '1bVuFdMbDAk6dhcQFfJFxpDjmm8DdFnnKesQ3wpxj7P',\n  proofs:\n    ['5cW1Ej6wFRK1XpMm3daCWjiSXaKGYfL7bmspZjzATXrNYjRVxZJQVJsDU7ZVcxNXcKJ39fhjxv3rSu4ovPT3Fau8'],\n  alias: 'MyTestAlias'\n};\n\n// Binary converter\nconst bytes = binary.serializeTx(tx);\n\nconst txb = binary.parseTx(bytes)\n\n// json converted\nconst jsonString = json.stringifyTx(tx)\n\nconst txj = json.parseTx(jsonString)\n\n```","readmeFilename":"README.md"}