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 🙏

© 2026 – Pkg Stats / Ryan Hefner

jump-vs-notification

v0.1.2

Published

这是一个简单的js工具库

Readme

  • rollup 中文文档 https://www.rollupjs.com/
$: yarn init -y
$: yarn add rollup rollup-plugin-babel @babel/core @babel/preset-env @babel/preset-react @emotion/babel-preset-css-prop -D
$: yarn add styled-components 有问题
$: yarn add @emotion/core

yarn run rollup --config 简写 yarn run rollup -c

如何调试我们本地的包(先进的yalc)

安装

// NPM:
npm i yalc -g

// Yarn:
yarn global add yalc

发布

  • 在自己开发的库项目根目录下发布依赖 yalc publish

引入

  • yalc add [name]执行后,业务工程的 node_modules 中就会有这个包。眼尖的小伙伴会发现,这个 npm 包不同于其它包,它带有一个转折箭头符号(也就是说这是一个软链接)。 在需要引入库的测试项目中

更新

  • 在我们开发的库内 yarn build && yalc publish
  • 在我们的项目内: 停止项目
  • 在我们的项目内: yalc update
  • 在我们的项目内: 删除npm项目的node_modules下的.cache
  • 在我们的项目内: yarn start
  • 在我们的项目内: 成功,页面更新。

结束调试

  • yalc remove jump-vs-notification

发布我们的包

  • 查看npm配置的地址: npm config get registry
  • 设置镜像源地址
$: npm config set registry https://registry.npmjs.org
  • 发布: yarn publish

  • 发布成功地址: https://www.npmjs.com/package/jump-vs-notification

  • 如何将npm的库及时更新到npmmirror源? https://npmmirror.com/ 如果你的库没有及时同步到 npmmirror 使用如下命令及时同步 cnpm sync jump-vs-notification

  • 同步taobo镜像 https://npmmirror.com/sync/jump-vs-notification

  • https://styled-components.com/