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

made-cli

v1.0.3

Published

- 1.支持个人或者组织的形式,并且支持项目的版本号拉取 - 2.可以默认获取我的github模板(只有测试模板没有任何内容,建议配置自己的项目模板) - 3.支持JS文件和JSON文件的预编译(模板支持ejs模板)

Downloads

7

Readme

cli功能支持说明

  • 1.支持个人或者组织的形式,并且支持项目的版本号拉取
  • 2.可以默认获取我的github模板(只有测试模板没有任何内容,建议配置自己的项目模板)
  • 3.支持JS文件和JSON文件的预编译(模板支持ejs模板)

用法说明

  • made-cli create |project-name|
    • 拉取我的github存储库项目
  • made-cli create |project-name| |group or user|
    • 项目名后面的为用户的github模板类型。如果拉取的是组织就给group如果是个人储存库就给user
  • made-cli create |project-name| |group or user| |groupName or userName|
    • 最后一个参数需要给组织名或者个人github名
  • 参数都是非必须的,如果不给,默认拉的是我的个人项目或者组织项目(目前没有模板,建议配置个人的)

预编译说明

  • 1.需要用户提供一个ask.js的询问文件,
  • 2.预编译的JS或者JSON文件使用ejs模板的写法进行拼接。
如:
ask.js

module.exports = [
    {
        type: 'confirm',
        name: 'private'
        message: 'this resgistery is private?'
    },
    {
        type: 'input',
        name: 'author',
        message: 'author?'
    },
    {
        type: 'input',
        name: 'license',
        message: 'license?'
    }
]

package.json
    {
        "private": "<%=private>"
        "description": "<%= descriptions>",
        "license":"<%=license>"
    }