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

mgtv

v1.1.3

Published

总体来说只是给原生的npm 添加了设置仓库的参数。所以。。如果你有洁癖,那么可以不使用。 自己在使用npm添加上 "--registry http://npm.hunantv.com"参数即可。 Deps: Node v4.0.0+ ----------

Downloads

7

Readme

芒果TV 私有仓库 懒人安装工具

总体来说只是给原生的npm 添加了设置仓库的参数。所以。。如果你有洁癖,那么可以不使用。 自己在使用npm添加上
"--registry http://npm.hunantv.com"参数即可。
Deps: Node v4.0.0+

首次安装

npm install mgtv -g

常用命令:

安装私有仓库的modules

  mgtv install  xxxx

当然该命令也可以安装npm官方的module,使用的是淘宝源。安装的时候如果该module在私有仓库没有,那么私有仓库服务会从 淘宝拉取该node_module 到本地缓存。

发布到私有仓库

在你自己编写的module下运行:

mgtv publish

即可推送到私有仓库。如果你希望推送到官方,那么还是使用 npm publish

登陆私用仓库(获取发布权限)

你需要先注册用户才行。

mgtv adduser

安装提示填写账号密码。注册成功后会有

Logged in ....

之类的提示。注册完成后会自动登陆,不需要其他额外操作(此处有bug,登陆后程序不会退出,需要按 Ctrl + C 进行退出)

如何更新 mgtv

以后的mgtv更新都不会走npm官方库了,全部走私有仓库。

mgtv install mgtv -g

任何疑问联系我

RTX: 胡瀛寰