An open API service indexing awesome lists of open source software.

https://github.com/3lang3/utilbag

this is javascript utils lib
https://github.com/3lang3/utilbag

Last synced: over 1 year ago
JSON representation

this is javascript utils lib

Awesome Lists containing this project

README

          

# utilbag
web mobile 常用开发工具包

### Install
```bash
# npm
npm install utilbag
# yarn
yarn add utilbag
```

### Usage
#### umd:
```js
import { browser, date, event, number, reg, string } from 'utilbag'
console.log(date.today())
```
#### commonjs
```js
const utilbag = require('utilbag')
console.log(utilbag.date.today())
```
#### browser script tag
```html

const { browser, date, event, number, reg, string } = utilbag
console.log(date.today())

```

### API
ref: [utilbag types](./types.d.ts)