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

mhs

v0.1.1

Published

Material handling system for web development

Downloads

6

Readme

mhs

Material handling system for web development

Usage

install: npm i -g mhs

Run: mhs

If you input:

Code    Title
CN110000    北京
CN120000    天津
CN130000    河北
CN140000    山西
CN150000    内蒙古
CN210000    辽宁
CN220000    吉林
CN230000    黑龙江
CN310000    上海
CN320000    江苏
CN320100    南京
CN320500    苏州
CN330000    浙江
CN330100    杭州
CN330200    宁波
CN340000    安徽
CN350000    福建
CN350200    厦门
CN360000    江西
CN370000    山东
CN410000    河南
CN410100    郑州
CN420000    湖北
CN420100    武汉
CN430000    湖南
CN440000    广东
CN440100    广州
CN440300    深圳
CN450000    广西
CN460000    海南
CN510000    四川
CN520000    贵州
CN530000    云南
CN540000    西藏
CN500000    重庆
CN610000    陕西
CN620000    甘肃
CN630000    青海
CN640000    宁夏
CN650000    新疆
CN810000    香港
CN820000    澳门
CN710000    台湾
99999998    境外
99999999    其他

Splitter of mhs will output:

  1. Array for all columns
  2. Array for each column
  3. Mock rule for each column
[ { Code: 'CN110000', Title: '北京' },
  { Code: 'CN120000', Title: '天津' },
  { Code: 'CN130000', Title: '河北' },
  { Code: 'CN140000', Title: '山西' },
  { Code: 'CN150000', Title: '内蒙古' },
  { Code: 'CN210000', Title: '辽宁' },
  { Code: 'CN220000', Title: '吉林' },
  { Code: 'CN230000', Title: '黑龙江' },
  { Code: 'CN310000', Title: '上海' },
  { Code: 'CN320000', Title: '江苏' },
  { Code: 'CN320100', Title: '南京' },
  { Code: 'CN320500', Title: '苏州' },
  { Code: 'CN330000', Title: '浙江' },
  { Code: 'CN330100', Title: '杭州' },
  { Code: 'CN330200', Title: '宁波' },
  { Code: 'CN340000', Title: '安徽' },
  { Code: 'CN350000', Title: '福建' },
  { Code: 'CN350200', Title: '厦门' },
  { Code: 'CN360000', Title: '江西' },
  { Code: 'CN370000', Title: '山东' },
  { Code: 'CN410000', Title: '河南' },
  { Code: 'CN410100', Title: '郑州' },
  { Code: 'CN420000', Title: '湖北' },
  { Code: 'CN420100', Title: '武汉' },
  { Code: 'CN430000', Title: '湖南' },
  { Code: 'CN440000', Title: '广东' },
  { Code: 'CN440100', Title: '广州' },
  { Code: 'CN440300', Title: '深圳' },
  { Code: 'CN450000', Title: '广西' },
  { Code: 'CN460000', Title: '海南' },
  { Code: 'CN510000', Title: '四川' },
  { Code: 'CN520000', Title: '贵州' },
  { Code: 'CN530000', Title: '云南' },
  { Code: 'CN540000', Title: '西藏' },
  { Code: 'CN500000', Title: '重庆' },
  { Code: 'CN610000', Title: '陕西' },
  { Code: 'CN620000', Title: '甘肃' },
  { Code: 'CN630000', Title: '青海' },
  { Code: 'CN640000', Title: '宁夏' },
  { Code: 'CN650000', Title: '新疆' },
  { Code: 'CN810000', Title: '香港' },
  { Code: 'CN820000', Title: '澳门' },
  { Code: 'CN710000', Title: '台湾' },
  { Code: '99999998', Title: '境外' },
  { Code: '99999999', Title: '其他' } ]
headers =  [ 'Code', 'Title' ]
column =  Code
[ 'CN110000',
  'CN120000',
  'CN130000',
  'CN140000',
  'CN150000',
  'CN210000',
  'CN220000',
  'CN230000',
  'CN310000',
  'CN320000',
  'CN320100',
  'CN320500',
  'CN330000',
  'CN330100',
  'CN330200',
  'CN340000',
  'CN350000',
  'CN350200',
  'CN360000',
  'CN370000',
  'CN410000',
  'CN410100',
  'CN420000',
  'CN420100',
  'CN430000',
  'CN440000',
  'CN440100',
  'CN440300',
  'CN450000',
  'CN460000',
  'CN510000',
  'CN520000',
  'CN530000',
  'CN540000',
  'CN500000',
  'CN610000',
  'CN620000',
  'CN630000',
  'CN640000',
  'CN650000',
  'CN810000',
  'CN820000',
  'CN710000',
  '99999998',
  '99999999' ]
@mock=@pick(['CN110000', 'CN120000', 'CN130000', 'CN140000', 'CN150000', 'CN210000', 'CN220000', 'CN230000', 'CN310000', 'CN320000', 'CN320100', 'CN320500', 'CN330000', 'CN330100', 'CN330200', 'CN340000', 'CN350000', 'CN350200', 'CN360000', 'CN370000', 'CN410000', 'CN410100', 'CN420000', 'CN420100', 'CN430000', 'CN440000', 'CN440100', 'CN440300', 'CN450000', 'CN460000', 'CN510000', 'CN520000', 'CN530000', 'CN540000', 'CN500000', 'CN610000', 'CN620000', 'CN630000', 'CN640000', 'CN650000', 'CN810000', 'CN820000', 'CN710000', '99999998', '99999999'])
column =  Title
[ '北京',
  '天津',
  '河北',
  '山西',
  '内蒙古',
  '辽宁',
  '吉林',
  '黑龙江',
  '上海',
  '江苏',
  '南京',
  '苏州',
  '浙江',
  '杭州',
  '宁波',
  '安徽',
  '福建',
  '厦门',
  '江西',
  '山东',
  '河南',
  '郑州',
  '湖北',
  '武汉',
  '湖南',
  '广东',
  '广州',
  '深圳',
  '广西',
  '海南',
  '四川',
  '贵州',
  '云南',
  '西藏',
  '重庆',
  '陕西',
  '甘肃',
  '青海',
  '宁夏',
  '新疆',
  '香港',
  '澳门',
  '台湾',
  '境外',
  '其他' ]
@mock=@pick(['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林', '黑龙江', '上海', '江苏', '南京', '苏州', '浙江', '杭州', '宁波', '安徽', '福建', '厦门', '江西', '山东', '河南', '郑州', '湖北', '武汉', '湖南', '广东', '广州', '深圳', '广西', '海南', '四川', '贵州', '云南', '西藏', '重庆', '陕西', '甘肃', '青海', '宁夏', '新疆', '香港', '澳门', '台湾', '境外', '其他'])