npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@wombat-exchange/configx

v1.0.11

Published

This package is used to pre-build some configs (e.g. asset) in Wombat dapp.

Downloads

209

Readme

@wombat-exchange/configx

This package is used to pre-build some configs (e.g. asset) in Wombat dapp.

Publish to NPM

Please use it locally before publish to NPM.

Login NPM: npm adduser / npm login
Publish latest version : npm publish

Testing

Uncomment main() in src/index.ts

Example config will generated at src/example/generatedConfig

// uncomment it for testing purpose
//main()
$ yarn start:dev

Use it to frontend repo locally

To install and set up the library locally

Full path example: etc. .../wombat-exchange-configx-v1.0.7.tgz

Pump verison in package.json before pack.

$ yarn build
$ yarn pack
$ yarn add <FULL_PATH>

Installation

To install and set up the library, run:

$ yarn add @wombat-exchange/configx

Use

  1. Create a configx.js
module.exports = {
  masterWombat: {
    address: {
      56: '0x489833311676B566f888119c29bd997Dc6C95830',
      42161: '0x62A83C6791A3d7950D823BB71a38e47252b6b6F4',
      97: '0x8C0e9334DBFAC1b9184bC01Ef638BA705cc13EaF',
      80001: '0x231e03Ee5Fc8220ca583e7fb44851e7C51a949F0',
      1: '0xC9bFC3eFeFe4CF96877009F75a61F5c1937e5d1a',
      534351: '0x01722147c9502ECCbd68bB328A47A080C13D8108',
      10: '0x82E62f4e174E3C5e1641Df670c91Ac6Ab8541518',
      1351057110: '0x2c5bdB54A5A2C899D7a8BAA091EEcd0bCB2Bdd31',
      534352: '0xbc007EEA00EA4b240E803A7dD39026554fBbA64a',
      8453: '0x6521a549834F5E6d253CD2e5F4fbe4048f86cd7b',
      43114: '0x6521a549834F5E6d253CD2e5F4fbe4048f86cd7b',
      137: '0xE85f625404eef8a55D9A8B385777d7C8E45E0C73',
    },
  },
  rpcs: {
    56: [],
    42161: [],
    97: [],
    80001: [],
    1: [],
    534351: [],
    10: [],
    1351057110: [],
    534352: [],
    8453: [],
    43114: [],
    137: [],
  },
}
  1. Add a script below to package.json
"postinstall": "configx"
  1. run:
$ yarn postinstall or yarn install