Mprogress.js creates progress linear bar from Google Material Design.
By using CSS3 and pure js which don't depend on any other libraries.
You can use 4 types of linear bar.
mprogress.start() — Start and show progress bar.
mprogress.end() — Finish and hide bar.
mprogress.set(0.4) — Set a percentage.
mprogress.inc() — Increase by a little.