1.3.4 • Published 11 months ago

@bprogress/core v1.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

BProgress

A slim progress bar inspired by NProgress.

NProgress V2 and Next NProgress Bar become BProgress!

Migration from nprogress-v2

If you are using nprogress-v2, you can migrate to @bprogress/core by following the migration guide.

Installation

Node.js

To install BProgress, run the following command:

npm install @bprogress/core

CDN

Use unpkg:

Use jsDelivr:

Integrations libraries

The following frameworks have a dedicated package for using BProgress:

Quick Start

Import

CDN

Import CSS in your index.html file.

<link
  rel="stylesheet"
  type="text/css"
  href="https://unpkg.com/@bprogress/core/dist/index.css"
/>

Import JavaScript in your index.html file.

<script type="module">
  import { BProgress } from 'https://unpkg.com/@bprogress/core/dist/index.js';

  BProgress.configure({
    ...
  });
</script>

Or you can add BProgressJS as a global variable using the legacy include:

<script src="https://unpkg.com/@bprogress/core/dist/index.global.js"></script>
<script>
  const { BProgress } = BProgressJS;

  BProgress.configure({
    ...
  });
</script>

Node.js

import '@bprogress/core/css';
import { BProgress } from '@bprogress/core';

Basic Usage

Simply call start() and done() to control the progress bar.

BProgress.start();
BProgress.done();

More information on documentation

Go to the documentation to learn more about BProgress.

Issues

If you encounter any problems, do not hesitate to open an issue or make a PR here.

LICENSE

MIT

1.3.4

11 months ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.3.0-canary.0

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago