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

@gongchuangji/engine-shared

v0.0.2

Published

沃森通用工具类包 @gongchuangji/engine-shared,包含 lodash 工具类、decimaljs 数字精度计算类、常用业务工具类方法、常用正则,正则校验方法、通用状态类等

Downloads

4

Readme

@vocen/shared

介绍

通用工具类包 @vocen/shared,包含 lodash 工具类、decimaljs 数字精度计算类、常用业务工具类方法、常用正则,正则校验方法、通用状态类等

说明

@voven/shared 工具类包属于沃森信息管理部私有 npm 包,使用之前需要切换本地 npm 源镜像

推荐使用 nrm 来切换不同的 npm 源

nrm 安装与配置

新增源并切换

nrm add vocen http://npm.gongchuangji.cn/

nrm use vocen

安装

pnpm add @vocen/shared

使用方式

import { _, VoUtils, Decimal, Pattern } from '@vocen/shared'

文档说明

请参考 @vocen/shared 文档说明

版本说明

  • v0.1.0

    • 第一版本包含功能有
    • lodash.js
    • decimaljs
    • 常用正则 Pattern
    • 常用正则校验方法
    • 常用业务方法
  • v0.1.1

    • 时间函数支持 时间戳和 YYYY-MM-DD HH:mm:ss格式的转换
  • v0.1.2

    • 新增VoStorage 和 VoHttp类,增加更多工具类方法
  • v0.1.3

    • 拆分VoHttp类,分为AdminHttp 和 AppHttp,并优化调用方式,维护icon图标类等、详见文档
  • v0.1.4

    • 移除svg包,独立发布svg包@vocen/era-svg-icons,新增工具类非对称加密库 Encrypt,提供加密解密方法, 依据原型新增标准密码正则校验

参与贡献

汪君相、闫亚松