nprogress-esm
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

nprogress-esm

Esm-friendly nprogress rewrite with typescript

Get Started!



Installation

Use npm to install.

$ npm install --save nprogress-esm

Basic usage

Simply use .start() and .done() to control the start and end.

import Progress from 'nprogress-esm'
import 'nprogress-esm/dist/style.css'

Progress.start()
Progress.done()

You can also use .set().

Progress.set(0) // same as Progress.start()
Progress.set(100) // same as Progress.end()

Thanks

nprogress

License

MIT License © 2024-Present Yev Wang

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.66latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.66
0.2.50
0.2.30
0.2.20
0.2.00
0.1.79
0.1.60
0.1.52
0.1.40
0.1.30
0.1.20
0.1.11
0.1.00

Package Sidebar

Install

npm i nprogress-esm

Weekly Downloads

18

Version

0.2.6

License

MIT

Unpacked Size

12 kB

Total Files

7

Last publish

Collaborators

  • 06k4studio