{"_id":"@dreyerx/airswap-utils","name":"@dreyerx/airswap-utils","dist-tags":{"latest":"4.3.3"},"versions":{"4.3.3":{"name":"@dreyerx/airswap-utils","version":"4.3.3","description":"AirSwap: Utilities for Developers","repository":{"type":"git","url":"https://github.com/airswap/airswap-protocols"},"keywords":["airswap"],"license":"MIT","main":"build/index.js","scripts":{"clean":"rm -rf ./build","compile":"yarn clean && tsc -b","test":"TS_NODE_COMPILER_OPTIONS='{\"strict\":false}' yarn mocha -r ts-node/esm test/*.ts","test:ci":"TS_NODE_COMPILER_OPTIONS='{\"strict\":false}' yarn mocha -r ts-node/esm test/utils.ts"},"dependencies":{"@metamask/eth-sig-util":"^5.0.2","@uniswap/token-lists":"^1.0.0-beta.24","bignumber.js":"^9.0.1","ethereumjs-util":"^7.1.5","ethers":"^5.7.2","lz-string":"^1.5.0","valid-url":"^1.0.9"},"publishConfig":{"access":"public"},"licenseText":"Copyright 2024 AirSwap\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the \"Software\"),\nto deal in the Software without restriction, including without limitation\nthe rights to use, copy, modify, merge, publish, distribute, sublicense,\nand/or sell copies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, 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\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.\n","_id":"@dreyerx/airswap-utils@4.3.3","dist":{"shasum":"719578adbfd791c3f4cc617fbe2826b10fd44cb5","integrity":"sha512-/AZHIXxrpY9qN0io+Jt/UFIo83Lxq11SfpdCUGcmT5zDKt1DBN1vSPNPi5AvZ3WN5Y/GfMGC4tIJV77BobhxJg==","tarball":"https://registry.npmjs.org/@dreyerx/airswap-utils/-/airswap-utils-4.3.3.tgz","fileCount":41,"unpackedSize":189434,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnzfG1Cuu9uuGfVfDqciXtArxTAq6iZ0DdiAKD/jLE9wIhAKn0e2AOL86sGoaNVEQgPoqS72n1xR8tRFa01jip6IFf"}]},"_npmUser":{"name":"dreyerx","email":"info@dreyerx.com"},"directories":{},"maintainers":[{"name":"dreyerx","email":"info@dreyerx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/airswap-utils_4.3.3_1724590161443_0.447384276723662"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-25T12:49:21.357Z","4.3.3":"2024-08-25T12:49:21.606Z","modified":"2024-08-25T12:49:21.880Z"},"maintainers":[{"name":"dreyerx","email":"info@dreyerx.com"}],"description":"AirSwap: Utilities for Developers","keywords":["airswap"],"repository":{"type":"git","url":"https://github.com/airswap/airswap-protocols"},"license":"MIT","readme":"# Utils\n\nUtilities for AirSwap Developers\n\n[![Discord](https://img.shields.io/discord/590643190281928738.svg)](https://discord.gg/ecQbV7H)\n[![License](https://img.shields.io/badge/License-MIT-blue)](https://opensource.org/licenses/MIT)\n![Twitter Follow](https://img.shields.io/twitter/follow/airswap?style=social)\n\n## Resources\n\n- About → https://about.airswap.io/\n- Website → https://www.airswap.io/\n- Twitter → https://twitter.com/airswap\n- Chat → https://chat.airswap.io/\n\n## Usage\n\nAdd the package to your project:\n\n```console\nyarn add @airswap/utils\n```\n\nImport into your application:\n\n```TypeScript\nimport { toDecimalString, toAtomicString } from '@airswap/utils';\n```\n\n## Commands\n\n| Command        | Description                             |\n| :------------- | :-------------------------------------- |\n| `yarn`         | Install dependencies                    |\n| `yarn clean`   | Delete the contract `build` folder      |\n| `yarn compile` | Compile all contracts to `build` folder |\n| `yarn test`    | Run all tests in the `test` folder      |\n","readmeFilename":"README.md"}