superyyao / bbo

Bbo is a small useful modern JavaScript utility library.🐝🐜

Home Page:https://github.ahthw.com/bbo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


🐝🐜

BBO is a small useful modern JavaScript utility library.

Overview

Every frontend developer has his own utils library, and we often write methods that are easily forgotten and highly used. bbo is a super small and useful utils library for JavaScript. It isn't couping with lodash underscore lazy.js.

I sorted out the most frequently used functions in daily development. These functions are almost ubiquitous in your development, and they cannot be found in lodash and underscore.

Most code comes from the stackOverflow site in the high-score answers, so we pay tribute to the original authors.

With easy code and less than 9k gzip, bbo can be used anytime and anywhere with no worries.

See the latest docs/documentation for a full API reference or bbo-docs.

Why

When you use react, vue, angular,you often need to write a lot of utils methods. But lodash and underscore libraries are not omnipotent. So you have to find a lot of tool libraries. By using bbo, you can solve many small problems in the daily development. It is simple and compact!

Documentation

Installation

Install using npm

anix

npm install bbo --save
...
import bbo from 'bbo';

Usage

let username = bbo.getCookie('username');

bbo.log('hello world!');

let id = bbo.setTimesout(function(word){
    console.log(word);
    console.log(this);  // log {index: 3 ,times: 8, over: false}
}, 1000/20, 8, 'helloWorld')

Building

node is a dependency, use terminal to install it with

git clone git://github.com/tnfe/bbo.git

...
npm install
npm run lint
npm run build

And run example

npm run start
//visit http://localhost:8080

Maintainers

@halldwang.

Contribution

Thank you all who already contributed to bbo!

contributors

Refer

ppo , ppo-cli , onavo , 30-seconds , locutus , mnu

Changelog

Detailed changes for each release are documented in the release notes.

License

Bbo is released under the MIT License. http://www.opensource.org/licenses/mit-license

About

Bbo is a small useful modern JavaScript utility library.🐝🐜

https://github.ahthw.com/bbo/

License:MIT License


Languages

Language:JavaScript 99.6%Language:HTML 0.4%