sihan-utils
v1.1.4
Published
Library of tools commonly used in work
Readme
Library of tools commonly used in work
Overview
This utils can help you do something such as formatDate, produceRadom and so on...
Installation
npm install --save sihan-utils
document
https://sihan-tan.github.io/siHan_utils/
or
https://github.com/Sihan-Tan/siHan_utils/blob/master/docs/index.md
Example
在 webpack 中使用
import { randomNumber } from "sihan-utils";
console.log(randomNumber(1, 100)); // a number between 1 and 100在 node 中使用
const { randomNumber } = require("sihan-utils");
console.log(randomNumber(1, 100)); // a number between 1 and 100Changelog
https://github.com/Sihan-Tan/siHan_utils/blob/master/changelog.md
Last
- 增加了 amd, esm, iife, umd 的打包输出
- 移除 cookie 和 dom 相关方法
Warning
移除了 cookie 和 dom 相关的方法
https://github.com/Sihan-Tan/siHan_utils/blob/master/remove.md
