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

commonly-used-utils

v1.1.2

Published

1. setTreeAttrCopy优化

Downloads

206

Readme

1.1.2

2024/12/12

  1. setTreeAttrCopy优化

1.1.0

2024/12/6

  1. 新增 listToTreeWithMeta 方法(list转tree数据标识,仍保留list结构)
  2. 新增 listToTree 方法(list转tree结构)
  3. oneDimensional 该非递归实现
  4. findArrayAttr 逻辑优化

1.0.0-beat23

2024/6/17

  1. 比对对象(内容)
  2. 比对数组(内容)
  3. 递归循环

1.0.0-beat22

2024/5/14

  1. findArrayAttr、findNestArrayAttr 查找下标模式与数组 findIndex,返回值统一

1.0.0-beat21

2024/5/13

  1. 扩展 findArrayAttr 查找下标的能力
  2. 新增 findNestArrayAttr 获取嵌套属性

1.0.0-beat19

2024/5/11

  1. isEmptyObject 判断空对象方法新增

1.0.0-beat18

2023/10/17

  1. deleteRecursively、deleteRecursivelyReverse、setTreeAttr_copy、treeFind回调函数扩展属性

1.0.0-beat17

2023/10/13

  1. 新增 treeFind 方法

1.0.0-beat16

2023/9/15

  1. setTreeAttr TS 声明调整
  2. setTreeAttr 增加回调函数第四参数(当前循环的数组)

1.0.0-beat15

2023/7/19

  1. 新增 isNumber

1.0.0-beat13

2023/6/21

  1. 泛型声明

1.0.0-beat11

2023/6/5

  1. 注释完善