{"_id":"@666666/pancakeswap-sdk","name":"@666666/pancakeswap-sdk","dist-tags":{"latest":"3.1.1"},"versions":{"3.1.1":{"name":"@666666/pancakeswap-sdk","license":"MIT","version":"3.1.1","description":"🛠 An SDK for building applications on top of Pancakeswap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancake-frontend.git","directory":"packages/swap-sdk"},"keywords":["pancakeswap","bsc"],"module":"dist/index.mjs","scripts":{"build":"tsup src/index.ts --format esm,cjs --dts","dev":"tsup src/index.ts --format esm,cjs --watch --dts","test":"jest","prepublishOnly":"yarn run build","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist"},"dependencies":{"@pancakeswap/swap-sdk-core":"*","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.0","@ethersproject/contracts":"^5.0.0","@ethersproject/networks":"^5.0.0","@ethersproject/providers":"^5.0.0","@ethersproject/solidity":"^5.0.0","@swc/core":"^1.2.215","@swc/jest":"^0.2.21","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsup":"^5.10.1"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"gitHead":"63cde34c1c7d73c02c8b3441a94dea359c34e943","bugs":{"url":"https://github.com/pancakeswap/pancake-frontend/issues"},"homepage":"https://github.com/pancakeswap/pancake-frontend#readme","_id":"@666666/pancakeswap-sdk@3.1.1","_nodeVersion":"18.12.1","_npmVersion":"9.1.1","dist":{"integrity":"sha512-kyJ2aLaB9kuwhO4KmWbaTbPh2V+MVvfpQ4APndOC57ILXzR97dqn+Iz/jdSsm/66HpzdSNV9TMj/sbNwzRexCw==","shasum":"9d53a52af5945e3c81a6320eaef977b7aa907e96","tarball":"https://registry.npmjs.org/@666666/pancakeswap-sdk/-/pancakeswap-sdk-3.1.1.tgz","fileCount":6,"unpackedSize":72042,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFSljW549PJ7yDagnPyQFtp1MW8RYiarVDiN1ipeMfIgIgLQyRpAzba3XotU8NajDl9Eu9gmdN2OSBgfJDcrL959Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeINcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZqRAAihEqResEThJ6K7cf0OKwcnTAWq4UAanFY6ID2ndGhA9m5HKy\r\n7szDaYwh1q+quGiVOplLbP4bX1Z0FwqnmoDoJ3+hkhqXKYAq8NjjKfBTI2Bf\r\ndl7Z9z1L7GNek57YtW9slM/hBi43IRdI5+f8bMZDtGjlXVG3w4WTB6GK5FAA\r\nTW+6KHToDdN9raZZWePkJM980SlziuzQlsLWiVDPK9xdbMdz3fvjsS4Gmeov\r\np1Q2OndVMmYH7leA4p+sNNUt/m/e7WgV/4lWBYixfhWVX0zUzF0CfJKd13+O\r\nP5Rx7hmRuO5oDaJs5qPftXT1LdWs38M2jP6BjtGaUKAElVBOzU83co29Sg8R\r\nWQzSpO6OnQJN6YOgyhD64dCQZrHya48b33Eq9tqt3iNrBfkhyWidghDdSq8l\r\nm7kYDimIHlARJVOF84kVpMS9ZrznQ3aVLnKiQwT6AgLxaAN60sRgve1O5gA/\r\n34KEgFeuW9rPk5PEEPB5nHM+yvYzl/gP26F9/uEsp5sF2v1JiiFHkfI0/hA3\r\nmi51QHM7+Kuc8CsQVyzLEmYrdDcOYgUq1BeYLm0NrtxIslxxK5baZTgZwrqa\r\nlsNuPW7zFyLCT4H7qI95LwuU2yoK96VYu+fu1pHRKMcyWnLu5BcIpVi+/3l5\r\n7M+5JWc9tIt/Y1DmLY0paZQz1PRbPXc36X4=\r\n=jvFn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"666666","email":"pmumu666@gmail.com"},"directories":{},"maintainers":[{"name":"666666","email":"pmumu666@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pancakeswap-sdk_3.1.1_1668842332093_0.5392494254652764"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-19T07:18:52.041Z","3.1.1":"2022-11-19T07:18:52.263Z","modified":"2022-11-19T07:18:52.388Z"},"maintainers":[{"name":"666666","email":"pmumu666@gmail.com"}],"description":"🛠 An SDK for building applications on top of Pancakeswap.","homepage":"https://github.com/pancakeswap/pancake-frontend#readme","keywords":["pancakeswap","bsc"],"repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancake-frontend.git","directory":"packages/swap-sdk"},"bugs":{"url":"https://github.com/pancakeswap/pancake-frontend/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"}