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

@coderhyh/eau-cli

v0.1.0

Published

一个可以随意配置下载模板的cli

Downloads

1

Readme

@coderhyh/eau-cli v0.1.0

目前仍然是一个测试包,但如果你感兴趣,可以尝试一下。

It's still a test pack for now, but if you're interested, give it a try.

安装 Installation

使用 npm:

Using npm:

$ npm i -g @coderhyh/eau-cli

使用说明 Usage

你可以使用 -h 来获得基本的使用说明:

You can use -h to get help:

$ eau -h
$ eau init -h
$ eau set -h
$ eau get -h

你可以使用 init [projcet_name] 来创建模板:

You can use init [projcet_name] to create the template:

$ eau init
$ eau init my-project

但是初次使用可能没有配置项目模板,所以需要手动编写文件进行配置:

However, the project template may not be configured for the first time, so you need to manually write a file for configuration:

// my-template
[
    {
        "name": "xxx1",
        "ssh": "git@xxxxx/xxxx.git",
        "https": "https://xxxxx/xxxx.git"
    },
    {
        "name": "xxx2",
        "ssh": "git@xxxxx/xxxx.git",
        "https": "https://xxxxx/xxxx.git"
    },
    ...more
]
$ eau set templates my-template

如果你想要查看当前配置项的值,你可以使用 get <config-name> 来查询:

If you want to see the value of the current configuration item, you can use get <config-name> :

$ eau get language

当然你也可以通过输入多个参数来批量查询:

Of course, you can also enter multiple parameters to batch query:

$ eau get language templates ...

如果你无法忍受中文或者英文,你可以切换语言:

If you can't stand Chinese or English, you can switch languages:

$ eau set language zh
$ eau set language en

等待 Waiting

更多内容仍在开发和尝试中...

More is still being developed and tried...