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

cwg-abc

v2.0.10

Published

a free oss demo by aliyun

Downloads

30

Readme

在线存储工具demo

  1. 这个demo仅作为学习使用,不要当成可靠的存储空间

  2. 通过命令行存储的数据保存期限为2天,服务端限制最大保存期限为9天

  3. 全局安装本模块之后,会增加一个store的命令行工具,可以用来快速存储短数据

命令行参数说明

  1. store -n

生成新的token(token由bucket和aes密码组成)

如果已有token,且需要重新生成可以添加-y参数

被覆盖的token是无法找回的,但已保存的终端还可以正常使用这个token,线上数据也不会立刻被删除

  1. store -t

展示token文件内容,base64格式字符串,形如:

================================
EMptVQeq04Cr32+GRVHk3/4a66G0b6/E
dG0SO3Q6+n93SH3KOIGRs3Sx+nLTkCzx
CYWhE+9sv1SleFBqHun42fTEK/QV2B5s
9dBI866CW/J/3fgZy68D6siaI8kuDMxU
================================
  1. store -b

绑定token,把-t命令的结果复制到这一步的输入,验证token没有复制错即可录入到本地token。

如果本地token已经存在,同样需要加-y参数进行覆盖

  1. store [参数1]

不带参数调用表示存储数据命令。持续录入内容,录入完成后按CTRL+C结束,会自动保存。

如果带[参数1]则直接存储[参数1]的字符串。

保存到服务端的数据是通过本地token以aes加密的内容,因此即使被别人看到没有token也是无法解密的。

  1. store -l

列举所有已保存的数据,如果超过10条则只能展示前10条。以时间倒序排列。

  1. store -r [参数1] [参数2] ...

删除一条或多条记录,如果是多条用空格隔开,[参数1] [参数2] ...即需要删除的记录key

  1. store -rr

清空全部数据

  1. store -z

给本地token加密。下一次任何操作都必须先解锁token才可以使用。

  1. store -uz

给本地token解锁