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

occupy-latrine

v0.0.6

Published

publish a simple npm package to occupy a specific name

Downloads

11

Readme

occupy latrine

Build Status

关于这个名字,占(茅)坑。 是有点味道的一个项目。请勿在吃东西时查看。

写这个npm包的起因是,有的时候会想到一些好听的名字,但是一时不知道写什么项目。为了好名字能够留下来,也为了能够督促我自己写多多的开源。

latrine style

  • latrine q [packagename] 查询某个包名是否在npm上已经发布,别人提前一步,就没办法占坑了哦~
  • latrine p [packagename] 在本地创建一个最简单的npm包,并自动提交到npm,完成占坑。
  • latrine g [packagename] 将本地刚(创建的)的目录,用api的形式,自动去github创建一个repo。让占坑来的更加理直气壮。
  • latrine c ':rocket: makeupCommits' 提交commit, latrine commit 会根据你的github中今年提交每天提交的 commit 数,来修改 commit 的时间,让你自己慢慢填满你的 github

change log

fix:

  • 2018.10.3 修复 github token 读写不成功的问题

feature:

makeup commits

  • 2018.10.16 增加了“弥补”提交 commit 到未提交的日期的功能,为了好多好多的“深绿色”。
  • 2018.10.16 增加了拉取 commits 缓存机制

feature

弥补你的git commits

原理是 git commit --date="May 7 9:05:20 2016 +0800" -am "提交" 这样就能够在你没有提交 commit 的时候提交了。慢慢补充github上的绿色。

todo

  1. 最好能够 提示开发者输入 emoji
  2. 最好是通过本地计数,又可以强制更新,加快 makeup commit 的速度
  3. console 加载中 动画,叫什么来着

done

  1. 可以强制拉取 commit 次数
  2. 直接 push
  3. makeup commit 的缓存机制: 不应该每次 commit 的时候都去拉一次列表, 有过期时间