0.0.1 • Published 7 months ago
lmkj-utils v0.0.1
简介
个人前端项目开发工具函数抽离,维护工具函数包!
安装使用
1. 安装包使用方式
安装
# npm
npm install lmkj-utils -S
# yarn
yarn add lmkj-utils -S
ESM 导入
import { random } from 'lmkj-utils'
console.log(random(1, 10))
RequireJS 导入
const { random } = require('lmkj-utils')
console.log(random(1, 10))
2. 网页 script 直接引入使用方式
函数概览
0.0.1
7 months ago