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

bai-tool

v1.1.2

Published

Common method

Downloads

2

Readme

B.JS

柏小白 javascript store

npm install bai-tool --save

import gs from 'bai-tool'
Vue.prototype.gs = gs

整理笔记、知识,并将其中承载的价值传播给他人 —— 记录思想和分享知识

  • 整理知识,学习笔记
  • 发布日记,杂文,所见所想

cmd-markdown-logo

除了您现在看到的这个 github,您还可以前往以下网址:柏小白博客


什么是 B.JS

B.JS 工具库,包括对象扩展、通用方法、队列、JSON、Cookie、Storage、Array、Ajax、JSONP等

1. B.seed.js

  • [ ] __BUILD_TIME 时间
  • [ ] VERSION 版本
  • [ ] Env
  • [x] Config 配置
  • [x] is 类型判断
  • [x] isBoolean 布尔类型判断
  • [x] isDate 日期类型判断
  • [x] isRegExp 是否是正则表达式判断
  • [x] isObject 对象类型判断
  • [x] isArray 数组类型判断
  • [x] isNumber 数字类型判断
  • [x] isFunction 函数类型判断
  • [x] isNull null类型判断
  • [x] isString 字符串类型判断
  • [x] isEmpty 对象是否为空判断
  • [x] isUndefined undefined 类型判断
  • [x] log 打印
  • [x] getLogger
  • [x] _mix

再一次感谢您花费时间阅读 祝您在这里阅读、分享愉快!

作者 @柏小白
2017 年 07月 20日