mini-utils-ts
v1.0.5
Published
mini 系列 js 工具库 🍤🐷💘 a javascript utils library includes my frequently used functions
Downloads
8
Readme
mini-utils-ts
mini 系列 js 工具库 🍤🐷💘
a javascript utils library includes my frequently used functions
🏗 Installation
$ npm install mini-utils-ts
📝 Usage
1. import everything
import utils from "mini-utils-ts"
utils.verify.isArrayLike([1,2,3])
2. import one functinal module
import {random} from "mini-utils-ts"
random.integer(1,10)
3. require only what you need
const image = require("mini-utils-ts").image;
image.compress("./images", "./build/images");
📦 Methods
verify
isArrayLike
random
integer
shuffle
image
compress