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

@siyuan0215/as-cli

v1.0.1

Published

angularjs staging cli, for generating scaffold with angularjs

Downloads

2

Readme

AS-CLI

自动生成基于 [email protected]+ 的移动端 H5 单页面应用脚手架;

一、环境依赖

CLI 主要依赖以下环境:

  • Node.js:长期稳定支持版本(LTS) 即可,点击「传送门」进行安装;
  • NpmYarn ,包管理工具,其中 Node.js 会自带安装 Npm,但是鉴于 Npm 对于依赖包的下载时好时坏(需要翻墙),推荐使用 Yarn

如果你想要了解更多关于 Npm 和 Yarn 方面的知识,请点击「传送门 - Npm」或「传送门 - Yarn」。

二、安装说明

确保当前的开发环境已经安装了上述的依赖后,在你的终端中输入如下命令:

# 若当前使用 Npm 进行包管理
npm install @siyuan0215/as-cli -g

# 若当前使用 Yarn 进行包管理
yarn global add @siyuan0215/as-cli

需要注意的是,不论使用哪种包管理工具,请以全局模式(-g / global)进行安装,以便于将 as-cli 注入到系统环境随时使用。

三、使用说明

CLI 会自动在当前目录创建 projectName 文件夹,下载脚手架项目并自动完成所需依赖包的安装。

请注意,确保你传入的 projectName 参数对应的文件夹内不会有你的重要的数据。

具体执行命令如下:

# projectName is variable
as-cli <projectName>

其中:

  • projectName :想要创建的项目的名称;
  • options :命令执行时传入的参数;

四、参数说明

| 完成 | 参数 | 必须 | 说明 | | :--: | :----: | :--: | :---- | |- [x]|-y, --with-yarn|否|安装依赖时,使用 yarn 包管理器进行安装| |- [x]|-c, --cache|否|安装依赖时,禁止清除缓存|