{"dist":{"shasum":"3f803787437384c7c8f7b22ba9063c7636533cb7","tarball":"https://registry.npmjs.org/@iov/encoding/-/encoding-0.16.0-alpha.2.tgz","fileCount":46,"integrity":"sha512-/qL263d/bUheYlKOWjzwX/uzznsKIQ32vKQ6IVESJcvOoFKjQsm/ozrNBsVOF1ba0nJdZpDF0Ei7tsaLLZU4KA==","signatures":[{"sig":"MEUCIQD13kRno+ypL1gPe4x1H8AflXugIc80fUOiseSdfWr7xwIgfuWigcTr4hMvgfAGdlL/W13qxtuGdKZdNVjT3vzH6ys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":260722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOCTMCRA9TVsSAnZWagAAaiAP/AoQPtFyGKDJJ9Esu2JV\n9IJslcMPTYcpW7bbIR44fRtnwrtK7RRkFR9xxEIKIBRwIpsT4Z2+YeZBgBT6\nXwSt0nBSvPnR1WvOL7lBWYLz8pQKj5acT1efiKT4CJkZH9o+DXqOVaqoLY2B\nZgCsEVtvDCpfmqF7jH37ei7xoPywh5ovu9A7k6XYDmZbvFMmSqpPMZStiZF3\nu9DuVdqooTN2aHULma+ffuGTd/72kqFya7UyynVpl5+WSAZDmmR8fPa7HDXH\ni5LO/Rb+7OvcjPuv/1rqlnt2mPyQfOSKZrGTaztYfqCYPkJfuGCPBELWOBwa\nYlQXTyFhHbAE1014gDUKnyrblWHsLQwWLjMhyCdUz7tTlAgD5zw6PvaBdiBh\n7w16p5W0xVWpZnX0XYwC291KcyrFbwLFO5XFvDocmKYLMuI9y6biYjhGmCyV\njMOatD8mzmmS+mhsbfVmFc+kKzvTkkz/X75rcOOXtievihtTOYJjN2+S4f7/\nb3H84xVOMNeL5wTq7hWMdGKCDRPNh29yu+r/gfe6I8aDBOPjvcWbFAJxQDAA\n8YNsHOZVvOABbu1bIvjXk6GAgT43UjfItIsQsg6o+k0Lie7XlP41Y4Od0Ye3\nQh8okqNMlttT/5qgOQ6bEigsr6Bw7abQ9ASgZnZK9D3oKR4s3ZWbnv9ccAiq\nq0tc\r\n=lUzm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","name":"@iov/encoding","types":"types/index.d.ts","author":{"name":"IOV SAS","email":"admin@iov.one"},"readme":"# @iov/encoding\n\n[![npm version](https://img.shields.io/npm/v/@iov/encoding.svg)](https://www.npmjs.com/package/@iov/encoding)\n\nThis package is an extension to the JavaScript standard library that is not\nbound to IOV products. It provides basic hex/base64/ascii/integer encoding to\nUint8Array that doesn't rely on Buffer and also provides better error messages\non invalid input.\n\n## Convert between bech32 and hex addresses\n\n```\n>> Bech32.encode(\"tiov\", Encoding.fromHex(\"1234ABCD0000AA0000FFFF0000AA00001234ABCD\"))\n'tiov1zg62hngqqz4qqq8lluqqp2sqqqfrf27dzrrmea'\n>> Encoding.toHex(Bech32.decode(\"tiov1zg62hngqqz4qqq8lluqqp2sqqqfrf27dzrrmea\").data)\n'1234abcd0000aa0000ffff0000aa00001234abcd'\n```\n\n## API Documentation\n\n[https://iov-one.github.io/iov-core-docs/latest/iov-encoding/](https://iov-one.github.io/iov-core-docs/latest/iov-encoding/)\n\n## License\n\nThis package is part of the IOV-Core repository, licensed under the Apache License 2.0\n(see [NOTICE](https://github.com/iov-one/iov-core/blob/master/NOTICE) and [LICENSE](https://github.com/iov-one/iov-core/blob/master/LICENSE)).\n","gitHead":"08a1fb05bce77b40251ab6c525002d0c6868e9c2","license":"Apache-2.0","scripts":{"docs":"shx rm -rf docs && typedoc --options typedoc.js","lint":"eslint --max-warnings 0 \"**/*.{js,ts}\" && tslint -t verbose --project .","test":"yarn build-or-skip && yarn test-node","build":"shx rm -rf ./build && tsc && yarn move-types","format":"prettier --write --loglevel warn \"./src/**/*.ts\"","pack-web":"yarn build-or-skip && webpack --mode development --config webpack.web.config.js","test-edge":"yarn pack-web && karma start --single-run --browsers Edge","test-node":"node jasmine-testrunner.js","move-types":"shx rm -r ./types/* && shx mv build/types/* ./types && shx rm ./types/*.spec.d.ts","test-chrome":"yarn pack-web && karma start --single-run --browsers ChromeHeadless","test-safari":"yarn pack-web && karma start --single-run --browsers Safari","test-firefox":"yarn pack-web && karma start --single-run --browsers Firefox","build-or-skip":"[ -n \"$SKIP_BUILD\" ] || yarn build"},"_npmUser":{"name":"webmaster128","email":"simon@warta.it"},"repository":{"url":"https://github.com/iov-one/iov-core/tree/master/packages/iov-encoding","type":"git"},"_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (darwin)","description":"Encoding helpers for IOV projects","directories":{},"maintainers":[{"name":"ethanfrey","email":"ethan@confio.tech"},{"name":"isabello","email":"admin@iov.one"},{"name":"webmaster128","email":"simon@warta.it"}],"_nodeVersion":"10.16.0","dependencies":{"bn.js":"^4.11.8","bech32":"^1.1.3","base64-js":"^1.3.0","readonly-date":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/bech32":"^1.1.1","@types/base64-js":"^1.2.5"},"_npmOperationalInternal":{"tmp":"tmp/encoding_0.16.0-alpha.2_1563960523932_0.47443647923077337","host":"s3://npm-registry-packages"},"_id":"@iov/encoding@0.16.0-alpha.2","version":"0.16.0-alpha.2"}