{"_id":"@awwwoeey/sdk","name":"@awwwoeey/sdk","dist-tags":{"latest":"5.8.0"},"versions":{"5.8.0":{"name":"@awwwoeey/sdk","license":"MIT","version":"5.8.0","description":"🛠 An SDK for building applications on top of Pancakeswap.","main":"dist/index.js","typings":"dist/index.d.ts","module":"dist/index.mjs","repository":{"type":"git","url":"git+https://github.com/awwwoeey/awwwoeey.git","directory":"packages/swap-sdk"},"keywords":["awwwoeey","bsc"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"dependencies":{"big.js":"^5.2.2","decimal.js-light":"^2.5.0","tiny-invariant":"^1.3.0","tiny-warning":"^1.0.3","toformat":"^2.0.0","viem":"1.19.11","@awwwoeey/chains":"^0.4.1","@awwwoeey/swap-sdk-core":"1.1.0"},"devDependencies":{"@types/big.js":"^4.0.5","tsup":"^6.7.0"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"publishConfig":{"access":"public"},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest --run","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist"},"bugs":{"url":"https://github.com/awwwoeey/awwwoeey/issues"},"homepage":"https://github.com/awwwoeey/awwwoeey#readme","_id":"@awwwoeey/sdk@5.8.0","_integrity":"sha512-gqTBvlrkiNenOgY53y/aqXLd5m3we96V57VUdZe1T1grXXpe9sOS9SW6TH+m2n4iKrNH0K82tdwq9E7jAwYQPA==","_resolved":"C:\\Users\\vikin\\AppData\\Local\\Temp\\1abab6b0de141e2cdbe04627314756d2\\awwwoeey-sdk-5.8.0.tgz","_from":"file:awwwoeey-sdk-5.8.0.tgz","_nodeVersion":"20.10.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-gqTBvlrkiNenOgY53y/aqXLd5m3we96V57VUdZe1T1grXXpe9sOS9SW6TH+m2n4iKrNH0K82tdwq9E7jAwYQPA==","shasum":"bc9b1562e8fca7b77a119159afe2b99ca4be7f2a","tarball":"https://registry.npmjs.org/@awwwoeey/sdk/-/sdk-5.8.0.tgz","fileCount":37,"unpackedSize":164720,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDefY+qgaBYY08aRVoZXEF6Vg/6lWO36r1D4d1sLwenaAIgGpigvfXPHqaY6RkK0JDkpila/+aRNJstFeiVFRdDMRE="}]},"_npmUser":{"name":"awwwoeey","email":"awwwoeey@gmail.com"},"directories":{},"maintainers":[{"name":"awwwoeey","email":"awwwoeey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_5.8.0_1713447441362_0.8950412638440137"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-18T13:37:21.246Z","5.8.0":"2024-04-18T13:37:21.519Z","modified":"2024-04-18T13:37:21.820Z"},"maintainers":[{"name":"awwwoeey","email":"awwwoeey@gmail.com"}],"description":"🛠 An SDK for building applications on top of Pancakeswap.","homepage":"https://github.com/awwwoeey/awwwoeey#readme","keywords":["awwwoeey","bsc"],"repository":{"type":"git","url":"git+https://github.com/awwwoeey/awwwoeey.git","directory":"packages/swap-sdk"},"bugs":{"url":"https://github.com/awwwoeey/awwwoeey/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 [pnpm](https://pnpm.io) 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\npnpm install\n```\n\nRun tests\n\n```sh\npnpm test\n```\n\nYou should see output like the following:\n\n```sh\npnpm 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"}