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 🙏

© 2026 – Pkg Stats / Ryan Hefner

bt-utils

v1.1.5

Published

bt utils

Downloads

37

Readme

BT工具类库,部分依赖layer和axios

安装

npm|cnpm install bt-utils

使用

  1. window.bt.https,支持get,post.put,delete
  2. window.bt.string,全局String校验,比如"test".is_empty(),"test".is_mobile();
  3. window.bt.array,数组操作类,常规去重、指定键与值返回实体
  4. window.bt.msg,全局消息,依赖layer插件,bt.msg.show('txt'),bt.msg.loading();
  5. window.bt.event,事件方法,bt.event.add(object,event_name,handle),bt.event.remove
  6. window.bt.uri,URL处理类,获取当前URI或根据URL分解query
  7. window.bt.window,窗口操作对象,获取当前窗体的宽高和访问设备
  8. window.bt.object,对象操作类
  9. window.bt.other,其他

具体可bt.log(bt)查看所有内容