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

dexpools-sdk

v1.0.541

Published

shared constants, utils

Downloads

435

Readme

dexpools-sdk

npm init - creates new package

Link on npm package (shared constants, utils, etc): https://www.npmjs.com/package/dexpools-sdk

To become a Collaborator of this package do the following:

  1. Create an npm account: https://www.npmjs.com/
  2. Login to your npm account in terminal
npm adduser
  1. Ask one of the collaborators to add you to the list of npm package collaborators. Add another user to collaborators (works for existing collaborators of the package):
npm owner add [npm account username]

To work with package in real time, without republishing after any updates, do the following:

  1. Create a link to the package
yarn link
  1. in the application where we will use the sdk (links to your local dexpools-sdk):
yarn link dexpools-sdk
  1. Compile sdk after any changes, watch changes
yarn start
  1. ...add code
  2. run prettier:
yarn lint-prettier
  1. Make build, if the build was successful, go to the next
yarn build
  1. Publish a new version of the package to npm
yarn publish
  1. commit, push changes to main
  2. in the application unlink form local sdk, re-install the package that was linked, update sdk version:
yarn unlink dexpools-sdk
yarn install --force
yarn add dexpools-sdk

npm unpublish <package-name>@<version> // Remove specific version