1.0.1 • Published 5 years ago

set-timeout2 v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

A setTimeout alternatives for browser based on requestAnimationFrame method

Install package

npm install set-timeout2 

Install devependecies and build library

  • Install dependencies

    npm install

  • Run and test in developer environment

    npm run run-dev

  • Build non-minified version of the library

    npm run build-dev

  • Build library and use in production

    npm run build-prod

    You will find the library in dist folder

  • Update or generate api doc

    npm run generate-doc

  • Do benchmark

    npm run benchmark

API Doc

https://bustling-stocking.surge.sh/