jasonzhao-utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

个人前端常用工具函数

汇总常用工具


简介

个人前端项目开发工具函数抽离,维护工具函数包!

安装使用

1. 安装包使用方式

安装

# npm
npm install jasonzhao-utils -S

# yarn
yarn add jasonzhao-utils -S

ESM 导入

import { random } from 'jasonzhao-utils'
console.log(random(1, 10))

RequireJS 导入

const { random } = require('jasonzhao-utils')
console.log(random(1, 10))

2. 网页 script 直接引入使用方式

函数概览

/jasonzhao-utils/

    Package Sidebar

    Install

    npm i jasonzhao-utils

    Weekly Downloads

    0

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    15.6 kB

    Total Files

    14

    Last publish

    Collaborators

    • rogerzhao