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

adam-cli

v0.4.3

Published

Simple CLI for scaffolding your projects

Downloads

5

Readme

Adam 亚当,一切之源

简介

支持模板管理的项目初始化工具。

安装 adam

npm install -g adam-cli

模板管理

  • adam 不单独维护模板,任何用户可以将自己常用的模板上传到 git 中,然后通过 adam 基于模板做项目初始化,并可自动填入需要的信息。

添加模板

  • 通过命令 adam tpl add <template-name> <template-git-repo-url> 添加模板。
  • 详细命令介绍可参考 API.md

项目初始化

  • 添加模板后,就可以通过 adam (不加任何参数)基于已添加的模板初始化项目。

贡献模板

  • 你只需要按照项目实际情况,创建初始化的目录及项目文件,推荐将项目文件放在 template 目录下
  • 你可以将模板放在任何可以用 git 命令下载到的地址。
  • adam 在初始化项目时,会使用当前项目真实信息替换某些变量,可参考 API Variables
  • 注意:git 是不支持空目录的,所以如果你希望项目在初始化时拥有一些空目录,可选择以下两种方式处理:
    • 在初始化空目录中,添加 .gitkeep (或 .keep, .keeper, .gitkeeper) 文件,本工具会在初始化时将该文件移除。
    • 把创建空目录的工作交给 npm scriptsgulpgrunt 等脚手架工具。

使用方法

详细使用方法可参考 API.md

Changelog

详见 CHANGELOG.md