Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import NProgress, { NProgressOptions } from 'nprogress';
console.log(NProgress.status);
console.log(NProgress.version);
// $ExpectType NProgress
NProgress.start();
NProgress.inc()
.inc(0.2)
.done();
NProgress.set(0.5);
NProgress.trickle();
console.log(NProgress.isStarted());
NProgress.done(true);
NProgress.configure({ minimum: 0.1 });
NProgress.configure({
template: '<div></div>',
easing: 'ease',