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

@ronan-try/cli

v1.0.5

Published

personal work cli

Downloads

14

Readme

ro-cli

2021-11-07

  1. ro forkro mr 将自动关联分支
  2. ro ui 实现

个人计划:

  • [x] 自己动手一个工作相关的脚手架工具【先规划后动手】
  • [ ] 浏览器可视化操作【先规划后动手】

放弃了原来的yeoman工具,主要因为它反应慢

yeoman 启动长达>6s
常规commander + inquirer 反应速度毫秒级

2021-10-29

  1. 更新ro forkro mr, 便于直接向目标分支发起MR

功能概览

Feature | Win32 | macOS | Ubuntu | Desc :- | :-: | :-: | :-: | :- ro | ✅ | ✅ | ❌ | 查看帮助 ro add | ✅ | ✅ | ❌ | 添加项目配置 ro delete | ✅ | ✅ | ❌ | 添加项目配置 ro update | ✅ | ✅ | ❌ | 添加项目配置 ro list | ✅ | ✅ | ❌ | 查看已保存的项目 ro fork | ✅ | ✅ | ❌ | fork such branch fevam target repo ro sync | ✅ | ✅ | ❌ | 将目标仓库branch 同步到本地仓库branch ro pr | ✅ | ✅ | ❌ | 发起merge/pull request ro mr | ✅ | ✅ | ❌ | 发起merge/pull request ro open | ✅ | ✅ | ❌ | open such a pevaject with folder/ vscode ro start | ✅ | ✅ | ❌ | npm start such a pevaject ro diff | ❌ | ❌ | ❌ | 借助vscode的diff能力 ro ng1 | ✅ | ❌ | ❌ | ng1 [-t/--test] [-m/--master] 当前分支git merge & npm run build & git push

来掐个表

Feature | 掐表 vs 掐表 | 手动挡(在分支name不敲错的情况下) :- | :-: | :- ro fork | 29s vs >50s | ✅手动挡 ro sync | 28s vs >50s | ✅手动挡 ro pr | 24s vs 25s | ✅手动挡 ro mr | 24s vs 25s | ✅手动挡 ro open | 10s vs 13s | 手动挡 ro start | --s vs --s | 比较无意义,目的在于不占用vscode terminal的空间 ro ng1 | 34s vs 72s | ✅手动挡,时间长了,就不记得os的发布流程了,含npm run build时间

小小的肯定,从手动挡 -> 进阶 -> 半自动挡

全自动的话,可以先选择target branch 然后将target branch name也作为local branch name
不想这个搞是因为,omega的branch name 太长了,不够简洁

整理一份脑图

// to do

npm 相关操作

记录使用到的操作,以免就着馒头吃了

  1. 软连接 npm link 包
// 建立软链接
npm link

// to do 卸载link
  1. 修改npm 包版本
// patch: 补丁包
// minor:小修小改
// major: 大改动
npm version <update_type>
  1. 切换npm源头
// 查看所有
nrm ls

// 修改源
nrm use taobao
  1. npm登录情况
npm whoami

// note: 使用用户名登录,非邮箱地址
npm login