Skip to content

Commit

Permalink
Switch to Npm from Yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
jviide committed Jan 25, 2021
1 parent 4a2942b commit 0759780
Show file tree
Hide file tree
Showing 4 changed files with 6,674 additions and 3,961 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# bar-of-progress [![CircleCI](https://circleci.com/gh/badrap/bar-of-progress.svg?style=shield)](https://circleci.com/gh/badrap/bar-of-progress) [![npm](https://img.shields.io/npm/v/@badrap/bar-of-progress.svg)](https://www.npmjs.com/package/@badrap/bar-of-progress)
# bar-of-progress [![npm](https://img.shields.io/npm/v/@badrap/bar-of-progress.svg)](https://www.npmjs.com/package/@badrap/bar-of-progress)

A small, easy & zero-dependency progress bar component.

![](https://user-images.githubusercontent.com/19776768/56576324-b40f1100-65d0-11e9-8332-37411ed01bd8.gif)

## Features

* **Zero dependencies**: Also not tied to any framework in particular.
* **Small size**: < 500 bytes with Brotli (< 600 bytes gzipped).
* **Easy to use**: Just a couple of lines and off you go. And TypeScript types are now available as well!
- **Zero dependencies**: Also not tied to any framework in particular.
- **Small size**: < 500 bytes with Brotli (< 600 bytes gzipped).
- **Easy to use**: Just a couple of lines and off you go. And TypeScript types are now available as well!

## Installation

```sh
$ npm install @badrap/bar-of-progress
$ npm i @badrap/bar-of-progress
```

## Usage
Expand Down Expand Up @@ -51,17 +51,17 @@ const progress = new ProgressBar({
// The size (height) of the progress bar.
// Numeric values get converted to px.
size: 2,

// Color of the progress bar.
// Also used for the glow around the bar.
color: "#29e",

// Class name used for the progress bar element.
className: "bar-of-progress",

// How many milliseconds to wait before the progress bar
// animation starts after calling .start().
delay: 80
delay: 80,
});
```

Expand Down
Loading

0 comments on commit 0759780

Please sign in to comment.