{"_id":"@danielvindax/duckswap-sdk","name":"@danielvindax/duckswap-sdk","dist-tags":{"latest":"2.5.0"},"versions":{"2.5.0":{"name":"@danielvindax/duckswap-sdk","license":"MIT","version":"2.5.0","description":"🛠 An SDK for building applications on top of Duck Swap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/danielvindax/duck-swap-sdk.git"},"keywords":["Duckswap","DSWAP"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.4","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0","@ethersproject/contracts":"^5.0.0","@ethersproject/networks":"^5.0.0","@ethersproject/providers":"^5.0.0","@ethersproject/solidity":"^5.0.0"},"devDependencies":{"@ethersproject/address":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/providers":"^5.0.5","@ethersproject/solidity":"^5.0.2","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsdx":"^0.14.1"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"gitHead":"45523544034772c9085d0c7216db670f2cd8e6d8","bugs":{"url":"https://github.com/danielvindax/duck-swap-sdk/issues"},"homepage":"https://github.com/danielvindax/duck-swap-sdk#readme","_id":"@danielvindax/duckswap-sdk@2.5.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-yaPvOePS7IzSCM2PCtzqyAd/mg0UVuQrkx408XluoWK6YouUPXIzUapMYj9aXPPF6HFkeMbMW8O8xqiUgIYZZg==","shasum":"d3901aa24bda92ef7339edc5a26819be4275428d","tarball":"https://registry.npmjs.org/@danielvindax/duckswap-sdk/-/duckswap-sdk-2.5.0.tgz","fileCount":28,"unpackedSize":522373,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaB9jV9HL59AnM8kfFW8sNwIe6zpuuOvsFUbAahH6lpAiEA0Nz1aJTRjfBzUqH0m/IEk/ITsCDN8G+Tuhj2o17zk8E="}]},"_npmUser":{"name":"danielvindax","email":"daniel@vindax.com"},"directories":{},"maintainers":[{"name":"danielvindax","email":"daniel@vindax.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/duckswap-sdk_2.5.0_1701760185612_0.9701047008188735"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-05T07:09:45.522Z","2.5.0":"2023-12-05T07:09:45.803Z","modified":"2023-12-05T07:09:46.053Z"},"maintainers":[{"name":"danielvindax","email":"daniel@vindax.com"}],"description":"🛠 An SDK for building applications on top of Duck Swap.","homepage":"https://github.com/danielvindax/duck-swap-sdk#readme","keywords":["Duckswap","DSWAP"],"repository":{"type":"git","url":"git+https://github.com/danielvindax/duck-swap-sdk.git"},"bugs":{"url":"https://github.com/danielvindax/duck-swap-sdk/issues"},"license":"MIT","readme":"# Pancakeswap SDK\n\nForked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).\n\nYou can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).\n\n## Running tests\n\nTo run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.\n\nFirst clone the repository:\n\n```sh\ngit clone https://github.com/pancakeswap/pancake-swap-sdk.git\n```\n\nMove into the pancakeswap-sdk working directory\n\n```sh\ncd pancakeswap-sdk/\n```\n\nInstall dependencies\n\n```sh\nyarn install\n```\n\nRun tests\n\n```sh\nyarn test\n```\n\nYou should see output like the following:\n\n```sh\nyarn run v1.22.4\n$ tsdx test\n PASS  test/constants.test.ts\n PASS  test/pair.test.ts\n PASS  test/fraction.test.ts\n PASS  test/miscellaneous.test.ts\n PASS  test/entities.test.ts\n PASS  test/trade.test.ts\n\nTest Suites: 1 skipped, 6 passed, 6 of 7 total\nTests:       3 skipped, 82 passed, 85 total\nSnapshots:   0 total\nTime:        5.091s\nRan all test suites.\n✨  Done in 6.61s.\n```\n","readmeFilename":"README.md"}