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

cow-cli

v1.0.0

Published

create my own project

Downloads

57

Readme

cow-cli

cow-cli 是一个用于创建前端项目的命令行工具。

安装

在你的项目目录中运行以下命令来安装 cow-cli:

npm install cow-cli -g

使用 初始化 在你的项目目录中运行以下命令来初始化 cow-cli:

这将会从 shell 环境变量中获取 GitHub token。如果没有设置 GitHub token,它会提示你输入。

创建项目 在你的项目目录中运行以下命令来创建一个新的项目:

my 这将会提示你输入项目名称和是否创建远程仓库。然后,它会使用 degit 来克隆一个模板项目,并安装依赖。

创建 Git 项目 在你的项目目录中运行以下命令来创建一个新的 Git 项目:

git 这将会检查当前目录是否是一个有效的项目和 Git 项目。如果是,它会提示你输入 Git 项目名称,然后使用 GitHub API 来创建一个远程仓库,并将本地代码推送到远程仓库。

部署项目 在你的项目目录中运行以下命令来部署你的项目:

deploy 这将会构建你的项目,并使用 surge 来部署你的项目。然后,它会提示你确认部署目录和部署域名,最后询问你是否打开浏览器查看部署的项目。

推送代码 在你的项目目录中运行以下命令来推送你的代码:

push 这将会检查当前目录是否是一个有效的 Git 项目。如果是,它会提示你输入提交信息,然后使用 Git 命令来添加、提交和推送你的代码。

贡献 欢迎任何形式的贡献,包括但不限于问题报告、文档改进、功能建议和代码提交。

许可证 本项目采用 MIT 许可证。