🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

incrementer

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

incrementer

> 指定开始值/结束值, 在指定时间内, 进行累加

unpublished
latest
npmnpm
Version
1.0.22
Version published
Maintainers
1
Created
Source

累加函数

指定开始值/结束值, 在指定时间内, 进行累加

Installtion

npm i incrementer

Usage

import createIncrementer from 'incrementer'

createIncrementer({
  start: 0,
  end: 200,
  duration: 10000,
  onCounting: p => console.log(p),
  onEnd: () => console.log('end'),
  onStart: () => console.log('start')
})

Props

参数名说明默认值
start开始0
end结束-
duration用时1000
onCounting变动回调-
onStart开始回调-
onEnd结束回调-

Keywords

指定时间累加到目标值

FAQs

Package last updated on 31 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts