{"_id":"@alexangelj/web3-units","_rev":"1-8320f37e1d6963ee8912772c7bae1532","name":"@alexangelj/web3-units","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"version":"0.1.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":120,"semi":false,"singleQuote":true,"trailingComma":"es5"},"name":"@alexangelj/web3-units","author":{"name":"Alex Angel","email":"alexangel.j@gmail.com"},"keywords":["web3","ethers.js","solidity","ethereum","typescript","javascript","bignumber","dapp"],"description":"Simple utility package extending ethers.js for better Web3 units","module":"dist/lib.esm.js","size-limit":[{"path":"dist/lib.cjs.production.min.js","limit":"10 KB"},{"path":"dist/lib.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/bignumber":"^5.4.0","@ethersproject/constants":"^5.4.0","@ethersproject/units":"^5.4.0"},"devDependencies":{"@size-limit/preset-small-lib":"^5.0.1","@types/jest":"^26.0.24","husky":"^7.0.1","size-limit":"^5.0.1","tsdx":"^0.14.1","tslib":"^2.3.0","typescript":"^4.3.5"},"publishConfig":{"access":"public"},"licenseText":"MIT License\n\nCopyright (c) 2021 Alex Angel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@alexangelj/web3-units@0.1.0","dist":{"shasum":"7ef45633b863fd61db1ffab887c91c66aafcf373","integrity":"sha512-yWP/8SUKu5yF3nHdma7fDFzm5ZE9HYolcgpKb5lXc8d4x0FGzPh6kKqSYOYtCz9WtjdFGY/0sVUqzDHlOpaVTQ==","tarball":"https://registry.npmjs.org/@alexangelj/web3-units/-/web3-units-0.1.0.tgz","fileCount":23,"unpackedSize":49674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5OUzCRA9TVsSAnZWagAAMD0P/3C4GY52R18B2C9qRrDH\n/nPau+PaNYRBk5AkOsC+OnBlohws3xO/OLnValYhg3r642qcdO6icuiXRvwc\nwf5Y3ZBoHo97bQs3cA4JATkk576X1XnCJOn2J/IHLL8pYesLC3n7LW55kBhS\nvn87L/bcbrFH/2zEP535ouK4Lig/4q9VUOpnVHxLBavmooFFnB7FEFcjwER1\n9BhVzfvfDFOIWddfm7NAjSlso/rhjQ0tWUPCKmEutAKkuhAQ3ULORWd6F5Cw\nLUo0WLy6K5t7c3CQKV8hEkRG+SRmj0/wRmrHnlGLYFzmr2IAbqetw5GVoXMI\n4XqL4Ks2+wUppifYMPcPUCTYuhv/HVfcziRGUrjOlGbMXbmASI4LrLWRO0VF\nK7NbKYeT5UmIsrSpv/MvQGs638CA8zSDa9iczDCu5nmUWj0aXiYKk6QrXtsx\nMwL9R/A0b9v6u8LtC/4yVwZ7Q7xd0p0ruB49rQ71vYotymPmh0z/8yusWcEc\njBrUsFU+BigWtGVCqDARJhobsZX7EECW+R9tjH5N1TS1N/e9cZ1GytGVbwkX\n1tt1C5a/L3v084egcJQH7Zp5SsrNh/ongoX/27kgE+ta2At3XkjTLnu6DSFQ\nOgZzJnAcA54aUWSGqvDNNvqGv2dDlgC7qnM/a8EItPXV0ZOexIGgUZBo2FaD\ngctC\r\n=uoEP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRZtBRCc1ZE0Q6hHkIm2j365EgYwhrLKcXHErFJdOzHwIhAJxkwdWCk0QHVOP1j7kGYgCvKVq9OLMNuUVG+nRDhDur"}]},"_npmUser":{"name":"alexangelj","email":"alexangel.j@gmail.com"},"directories":{},"maintainers":[{"name":"alexangelj","email":"alexangel.j@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3-units_0.1.0_1625613619456_0.28381851473171094"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-06T23:20:19.412Z","0.1.0":"2021-07-06T23:20:19.629Z","modified":"2022-04-04T12:39:17.623Z"},"maintainers":[{"name":"alexangelj","email":"alexangel.j@gmail.com"}],"description":"Simple utility package extending ethers.js for better Web3 units","keywords":["web3","ethers.js","solidity","ethereum","typescript","javascript","bignumber","dapp"],"author":{"name":"Alex Angel","email":"alexangel.j@gmail.com"},"license":"MIT","readme":"# Simple Web3 Units\n\nThis packagage includes several classes which extend `ethers.js` with clearer ways to convert between unit types. Not sure which to use for values from smart contract calls? BigNumbers? BigNumberishes? Strings? Numbers? BNs? Simple, just use the `Wei` class. Which has properties to easily convert to any of those types!\n","readmeFilename":"README.md"}