https://github.com/impeiran/ure
🛠️A lib with some utility functions used frequently
https://github.com/impeiran/ure
browser javascript javascript-tools util utility-library
Last synced: 8 months ago
JSON representation
🛠️A lib with some utility functions used frequently
- Host: GitHub
- URL: https://github.com/impeiran/ure
- Owner: impeiran
- License: mit
- Created: 2019-12-06T06:54:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-24T08:56:56.000Z (over 2 years ago)
- Last Synced: 2024-04-25T17:41:34.285Z (over 1 year ago)
- Topics: browser, javascript, javascript-tools, util, utility-library
- Language: TypeScript
- Homepage: https://impeiran.github.io/ure
- Size: 1.02 MB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ure
[](https://badge.fury.io/js/ure)  
ure is a lib with some utility functions used frequently. Most of these functions are faced to browser.Inspired by `lodash` and `bbo`.
[Documents](https://impeiran.github.io/ure)
## **Installation**
```bash
# use npm
npm install ure --save
# use cnpm
pnpm add ure
# use yarn
yarn add ure
```
**Or you can download the js file**:
- ure.js [click here](https://github.com/impeiran/ure/raw/master/dist/ure.js)
- ure.min.js [click here](https://github.com/impeiran/ure/raw/master/dist/ure.min.js)
## **Usage**
Use CommonJS module
```javascript
const ure = require('ure')
ure.getCookie()
```
Use ES module
```javascript
import ure from 'ure'
ure.isEmpty(list)
```
Or require/import individual function
```javascript
import isEmpty from 'ure/isEmpty'
const parseCookie = require('ure/parseCookie')
```