Catalog npm
Back to packageRELEASE DETAILS

1.3.1

npm

@0xouzm/smart-order-router

Weswap Smart Order Router

Published11 Aug 2022
Direct dependencies38
Transitive dependenciesNot calculated

README

Current package documentation

node-typescript-boilerplate

Sponsor TypeScript version Node.js version APLv2 Build Status - GitHub Actions

👩🏻‍💻 Developer Ready: A comprehensive template. Works out of the box for most Node.js projects.

🏃🏽 Instant Value: All basic tools included and configured:

  • TypeScript 4.7
  • ESM
  • ESLint with some initial rules recommendation
  • Jest for fast unit testing and code coverage
  • Type definitions for Node.js and Jest
  • Prettier to enforce consistent code style
  • NPM scripts for common operations
  • Simple example of TypeScript code and unit test
  • .editorconfig for consistent file format
  • Reproducible environments thanks to Volta
  • Example configuration for GitHub Actions

🤲 Free as in speech: available under the APLv2 license.

Getting Started

This project is intended to be used with the latest Active LTS release of Node.js.

Use as a repository template

To start, just click the Use template link (or the green button). Start adding your code in the src and unit tests in the __tests__ directories.

Clone repository

To clone the repository, use the following commands:

git clone https://github.com/jsynowiec/node-typescript-boilerplate
cd node-typescript-boilerplate
npm install

Download latest release

Download and unzip the current main branch or one of the tags:

wget https://github.com/jsynowiec/node-typescript-boilerplate/archive/main.zip -O node-typescript-boilerplate.zip
unzip node-typescript-boilerplate.zip && rm node-typescript-boilerplate.zip

Available Scripts

  • clean - remove coverage data, Jest cache and transpiled files,
  • prebuild - lint source files and tests before building,
  • build - transpile TypeScript to ES6,
  • build:watch - interactive watch mode to automatically transpile source files,
  • lint - lint source files and tests,
  • prettier - reformat files,
  • test - run tests,
  • test:watch - interactive watch mode to automatically re-run tests

Additional Information

Why include Volta

Volta’s toolchain always keeps track of where you are, it makes sure the tools you use always respect the settings of the project you’re working on. This means you don’t have to worry about changing the state of your installed software when switching between projects. For example, it's used by engineers at LinkedIn to standardize tools and have reproducible development environments.

I recommend to install Volta and use it to manage your project's toolchain.

ES Modules

This template uses native ESM. Make sure to read this, and this first.

If your project requires CommonJS, you will have to convert to ESM.

Please do not open issues for questions regarding CommonJS or ESM on this repo.

Backers & Sponsors

Support this project by becoming a sponsor.

License

Licensed under the APLv2. See the LICENSE file for details.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 38

Native requirements
38 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@bitauth/libauth
Environment
{
  "local_name": "@bitauth/libauth",
  "alias": false,
  "peer_metadata": null
}
^1.17.1runtime
@types/bunyan
Environment
{
  "local_name": "@types/bunyan",
  "alias": false,
  "peer_metadata": null
}
^1.8.6runtime
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
^4.14.168runtime
@uniswap/default-token-list
Environment
{
  "local_name": "@uniswap/default-token-list",
  "alias": false,
  "peer_metadata": null
}
^2.0.0runtime
@uniswap/sdk-core
Environment
{
  "local_name": "@uniswap/sdk-core",
  "alias": false,
  "peer_metadata": null
}
3.0.0runtime
@uniswap/token-lists
Environment
{
  "local_name": "@uniswap/token-lists",
  "alias": false,
  "peer_metadata": null
}
*runtime
@uniswap/v3-core
Environment
{
  "local_name": "@uniswap/v3-core",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
@uniswap/v3-periphery
Environment
{
  "local_name": "@uniswap/v3-periphery",
  "alias": false,
  "peer_metadata": null
}
^1.1.0runtime
@uniswap/v3-sdk
Environment
{
  "local_name": "@uniswap/v3-sdk",
  "alias": false,
  "peer_metadata": null
}
3.0.0runtime
axios
Environment
{
  "local_name": "axios",
  "alias": false,
  "peer_metadata": null
}
^0.21.1runtime
bunyan
Environment
{
  "local_name": "bunyan",
  "alias": false,
  "peer_metadata": null
}
^1.8.15runtime
bunyan-debug-stream
Environment
{
  "local_name": "bunyan-debug-stream",
  "alias": false,
  "peer_metadata": null
}
^2.0.0runtime
cli-logger
Environment
{
  "local_name": "cli-logger",
  "alias": false,
  "peer_metadata": null
}
^0.5.40runtime
dotenv
Environment
{
  "local_name": "dotenv",
  "alias": false,
  "peer_metadata": null
}
^10.0.0runtime
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
^5.1.4runtime
graphql
Environment
{
  "local_name": "graphql",
  "alias": false,
  "peer_metadata": null
}
^15.5.0runtime
graphql-request
Environment
{
  "local_name": "graphql-request",
  "alias": false,
  "peer_metadata": null
}
^3.4.0runtime
jsbi
Environment
{
  "local_name": "jsbi",
  "alias": false,
  "peer_metadata": null
}
^3.1.4runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.21runtime
node-cache
Environment
{
  "local_name": "node-cache",
  "alias": false,
  "peer_metadata": null
}
^5.1.2runtime
prettier-plugin-organize-imports
Environment
{
  "local_name": "prettier-plugin-organize-imports",
  "alias": false,
  "peer_metadata": null
}
^2.1.0runtime
tslib
Environment
{
  "local_name": "tslib",
  "alias": false,
  "peer_metadata": null
}
^1.14.1runtime
@istanbuljs/nyc-config-typescript
Environment
{
  "local_name": "@istanbuljs/nyc-config-typescript",
  "alias": false,
  "peer_metadata": null
}
^1.0.1development
@typechain/ethers-v5
Environment
{
  "local_name": "@typechain/ethers-v5",
  "alias": false,
  "peer_metadata": null
}
7.0.1development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^15.0.2development
@typescript-eslint/eslint-plugin
Environment
{
  "local_name": "@typescript-eslint/eslint-plugin",
  "alias": false,
  "peer_metadata": null
}
^4.0.1development
@typescript-eslint/parser
Environment
{
  "local_name": "@typescript-eslint/parser",
  "alias": false,
  "peer_metadata": null
}
^4.0.1development
eslint
Environment
{
  "local_name": "eslint",
  "alias": false,
  "peer_metadata": null
}
^7.8.0development
eslint-config-prettier
Environment
{
  "local_name": "eslint-config-prettier",
  "alias": false,
  "peer_metadata": null
}
^6.11.0development
eslint-plugin-eslint-comments
Environment
{
  "local_name": "eslint-plugin-eslint-comments",
  "alias": false,
  "peer_metadata": null
}
^3.2.0development
eslint-plugin-import
Environment
{
  "local_name": "eslint-plugin-import",
  "alias": false,
  "peer_metadata": null
}
^2.22.0development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.5development
open-cli
Environment
{
  "local_name": "open-cli",
  "alias": false,
  "peer_metadata": null
}
^6.0.1development
prettier
Environment
{
  "local_name": "prettier",
  "alias": false,
  "peer_metadata": null
}
^2.1.1development
standard-version
Environment
{
  "local_name": "standard-version",
  "alias": false,
  "peer_metadata": null
}
^9.0.0development
ts-node
Environment
{
  "local_name": "ts-node",
  "alias": false,
  "peer_metadata": null
}
^9.0.0development
typechain
Environment
{
  "local_name": "typechain",
  "alias": false,
  "peer_metadata": null
}
^5.0.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^4.2.2development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-IFG5fNS9oBM5xl3j7URFqrNLWESnZjVriC0zhfnZY9Xa8u6OqmoRRZ8rZN+iFq1XHy0R+IM7h7ISAD/wbnE3HA==",
  "shasum": "ced9f5dea75d6a8dd6be5d64e1564e48ef20e8bf",
  "tarball": "https://registry.npmjs.org/@0xouzm/smart-order-router/-/smart-order-router-1.3.1.tgz",
  "fileCount": 302,
  "unpackedSize": 3231854,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCID5TxuoMPdC86S/TML/s40+hoZr3UI9ZIYHMZAx74rdNAiEAj04VN2587qNKQ+kYlqk1zineqDeEiisucLcCidO9Ras="
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9MHpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoF/A/+MDxDhPKP8CLPxga+2nTAjUqnqR49r0Fw+xnGmnG87VRkCgjA\r\nd37opm5llZJIvlflyN3zae8tRd5heIunDDXYDXyJngpQPtNzd2ehQuBPpA5H\r\n3O9V0Q0pCsoAIn88qZswaTQPzN0Ly9a/mblA3zd3TG4EDBiHGvWaxLTl9/3A\r\n5rL6RZDHJ+0ElSz6DHYukQIdtf+IttVVKtjaUHaWqxXoPN8IvK4DUTHILGfl\r\niRw8TVzACyYOghwB/vAntslHzY2zVn4fzR08zasfk1BmMSdUgmw6k7ShaEIH\r\ncvqbCq3Kc0bz5ePcI3Ld5rLeANHRZCS0Reh4OiiwwpG6jTxWtAPFpfJP8HvS\r\nbfO92ZMkODM0Uu3IHPqLtTVp3IEWMJHVsFD771YM6LLwMy4VZHQB2K2zcJZy\r\nAm1a8mb8JV3gLpr1U+e3wmmkH1cnvvD/NKBoeKg9i5+6gDuVFJ30jTIz3JPI\r\nJn1Vk51GPB8UuaxI0GnudJs1kLr0gYJi47+XWV2qME6UaDNHGhZy2TYSr4H/\r\nvM5FaqPPFStn53o7E32SfnBR0rf/VtNqNJ4lRL2xr2vHi1CUYklRh+kHcBxS\r\nYhcdSCK7jWDlhoPzcqikc4MGZYcw+f7/KOMLiX/P5QP5KSkMhtI37zcfYhBM\r\naXJ/rYTVjOo/dofiQgKDsgIAS2vnvfTTw34=\r\n=Zppr\r\n-----END PGP SIGNATURE-----\r\n"
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:26 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:5fc0aeb08817fd1c2309d098a85116cd798dec3f7ad5584c6e54fbf8accedf12

Other collected versions

1.3.2-012 Aug1.3.011 Aug1.2.25 Aug1.2.15 Aug1.2.05 Aug1.0.128 JulView all collected versions →