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

zfs-cli

v1.0.5

Published

![](https://img.shields.io/github/stars/nined9/zfs-cli?style=social) ![](https://img.shields.io/npm/v/zfs-cli) ![](https://img.shields.io/npm/dw/zfs-cli) ![](https://img.shields.io/npm/l/zfs-cli) > 为项目使用不同源的项目依赖库时,方便快速安装依赖,如有特殊库的依赖可以单独指定,当前版本使用的是npm包管理工具

Downloads

12

Readme

zfs-cli

为项目使用不同源的项目依赖库时,方便快速安装依赖,如有特殊库的依赖可以单独指定,当前版本使用的是npm包管理工具

Usage

npm install -g zfs-cli

setup

查看

zfs-cli setup ls

查看所有配置信息

zfs-cli setup ls lib-name1 lib-name2...

查看lib-name1, lib-name2 等等库设置的源

添加

zfs-cli setup registry lib-name1 lib-name2 ...

指定lib-name1, lib-name2等等库的源为registry源

移除

zfs-cli setup registry -r/--remove lib-name1 lib-name2 ...

移除lib-name1, lib-name2等库源的指定

zfs-cli setup -t/--remove-registry registry

移除registry源的所有库配置

安装

zfs-cli setup

进行依赖的安装,当检测到dependencies里有上述lib-name1/lib-name2等库时,就会在安装时切换到其指定的registry源里去安装对应的库

默认下载源设置

zfs-cli setup -d/--default registry

给未配置下载源的库设置统一的下载源

TODO

  • [ ] setup指令支持yarn
  • [x] setup指令支持默认下载源设置
  • [ ] setup指令支持不同源库名相同时,手动选择再继续
  • [ ] setup指令支持切换不同配置文件
  • [ ] setup指令添加通用快速安装配置,特殊库依赖时的库安装速度

其它指令待续...

MIT License

Copyright (c) 2020 Nined

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.