anyscript

1.2.0 • Public • Published

anyscript

前端常用javascript函数工具库

usage

Installation

npm install anyscript

Or

yarn add anyscript

Quick start

import { test } from 'anyscript'

test() // 传入参数(属性)

API

防抖函数

debounce

属性 说明 类型 默认值 其他
fn 防抖的函数 function -
delay 时间 number 300

节流函数

throttle

属性 说明 类型 默认值 其他
fn 防抖的函数 function -
delay 时间 number 300

Package Sidebar

Install

npm i anyscript

Weekly Downloads

2

Version

1.2.0

License

MIT

Unpacked Size

2.07 kB

Total Files

4

Last publish

Collaborators

  • haijee