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

xbo-utils

v1.0.8

Published

|----- build | |--- webpack.pro.config.js webpack打包配置文件 | |----- dist | |--- xboutil.min.js umd 工具类js打包之后生成文件 | |----- es | |--- xboutil.es.js es 工具类js打包文件(遗留问题,index.js的问处理不当,导致输出全部在一个文件,无法做到按需加载)

Downloads

4

Readme

前端工具类库

打包采用的webpack技术,未采用最新的rollup打包技术,是它无法采用模块化去获取整个src下的js文件夹,需要手动用import的形式引入,在后续可以深入研究。

|----- build | |--- webpack.pro.config.js webpack打包配置文件 | |----- dist | |--- xboutil.min.js umd 工具类js打包之后生成文件 | |----- es | |--- xboutil.es.js es 工具类js打包文件(遗留问题,index.js的问处理不当,导致输出全部在一个文件,无法做到按需加载) | |----- docs | |----- .vuePress | | |------ config.js api文件配置 | | |------ config | | |------navbar.js 头部导航 | | |------sidebar.js 侧边栏 | | | |----- util api类说明文件 | | | |----- _pickOption 常用日期间隔处理工具 | |----- _env 环境处理工具 | |----- _number 加减乘除计算 | |----- _utils 常用的工具 | |----- _validate 检验工具 例如:手机号、邮箱 | |----- _date 普通日期时间的格式化处理 | |----- node_modules | | |----- src | |----- _pickOption 计算日期的间隔几天的开始日期和结束日期 | |----- _env 环境处理工具 | |----- _number 加减乘除计算 | |----- _utils 常用的工具 | |----- _validate 检验工具 例如:手机号、邮箱 | |----- test 工具类单元测试 (暂未实现) | |------ .gitignore | |------ index.js 获取src下所有的工具类js,供打包使用 | |------ pachage.json | |------ yarn.lock