ure is a lib with some utility functions used frequently. Most of these functions are faced to browser.Inspired by lodash
and bbo
.
# use npm
npm install ure --save
# use cnpm
cnpm install ure --save
# use yarn
yarn add ure
Or you can download the js file:
- ure.js click here
- ure.min.js click here
Use CommonJS module
const ure = require('ure')
ure.getCookie()
Use ES module
import ure from 'ure'
ure.isEmpty(list)
Or require/import individual function
import isEmpty from 'ure/isEmpty'
const parseCookie = require('ure/parseCookie')