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

socar-utils

v1.0.12

Published

socar utils 相关

Downloads

7

Readme

socar-utils

fileHelper 文件助手

用以处理远程文件转本地文件重新上传

1.0.12

增加文件请求中的 header 请求 中的 destination 保证请求图片和视频时正确的触发 service-worker 拦截附加token的逻辑

visibilityHelper dom可视化助手

用以实现已读功能

jsonapiHelper

classifier 基于jsonapi 的分类器

urlHelper

用以便捷的操作url

toolbox 工具箱

一些小函数

emitter 发射器

用以实现发布订阅功能

treeHelper 1.0.1

树构建助手

1.0.2

已匹配至父节点的 节点从 nodeList 中移除避免重复过滤

generateRoute

1.0.8

generateRoute 支持递归重定向子路由

1.0.9

generateRoute 支持递归重定向子路由, 不限制层级

1.0.10

修改判断条件 以阻止重定向生成

参考资料

Authoring Libraries

publish

  1. 查看项目版本信息,默认1.0.0 npm version

  2. 升级预发布号 npm version prerelease

首次执行
1.0.0 -> 1.0.0-0
再次执行
1.0.0 -> 1.0.0-1
  1. 升级修订号,保留预发布号 npm version prepatch
执行结果
1.0.0-1 -> 1.0.1-0
  1. 升级次版本号,保留预发布号 npm version preminor
执行结果
1.0.1-0 -> 1.1.0-0
  1. 升级主版本号,保留预发布号 npm version premajor
执行结果
1.1.0-0 -> 2.0.0-0 
  1. 升级修订号 npm version patch 
首次执行
2.0.0-0 -> 2.0.0
再次执行
2.0.0 -> 2.0.1
  1. 升级次版本号 npm version minor 
执行结果
2.0.1 -> 2.1.0
  1. 升级主版本号 npm version major
执行结果
2.1.0 -> 3.0.0