You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 34ee93a
Browse filesBrowse the repository at this point in the historyBrowse files
npm refused react-file-upload-progress: too similar to the existing
react-fileupload-progress, which differs only by a hyphen. Neither `npm view`
nor `npm publish --dry-run` catches that rule — only the real registry does, so
it surfaced at the last step.
react-file-progress was free in every punctuation variant, so nothing collides.
It also describes the package better than the old name did: there are two bars
here, and only one of them is an upload.
The scoped fallback npm suggested was rejected — a scoped name ranks worse in
npm search, which undoes the discoverability work.
Repo renamed to match; GitHub redirects the old URL but raw.githubusercontent
does not, so the README's GIF links are rewritten. Style element id and the
console warning prefix follow the package name too.
**[▶ Try the live demo](https://codeaesthetic.github.io/react-file-upload-progress/)**
9
+
**[▶ Try the live demo](https://codeaesthetic.github.io/react-file-progress/)**
10
10
11
11
## What is a "file loading" progress bar?
12
12
@@ -20,7 +20,7 @@ frozen screen while it happened.
20
20
into the browser.** No server, no network, no upload. Just "your file is being
21
21
loaded, here's how far along it is".
22
22
23
-
<imgsrc="https://raw.githubusercontent.com/codeAesthetic/react-file-upload-progress/main/assets/load.gif"alt="Progress bar showing a file being read from the hard disk into the browser, then sitting ready with its name shown"width="520" />
23
+
<imgsrc="https://raw.githubusercontent.com/codeAesthetic/react-file-progress/main/assets/load.gif"alt="Progress bar showing a file being read from the hard disk into the browser, then sitting ready with its name shown"width="520" />
24
24
25
25
> **The GIF above is slowed down on purpose so you can see the bar move.**
26
26
> On a fast local SSD, reading a 150MB file into the browser takes only about
@@ -39,7 +39,7 @@ that you trigger yourself** — with its own, second progress bar.
39
39
## Install
40
40
41
41
```bash
42
-
npm install --save react-file-upload-progress
42
+
npm install --save react-file-progress
43
43
```
44
44
45
45
React 16.8 or newer is required (it is a peer dependency).
@@ -65,7 +65,7 @@ only show you the second one.
65
65
Just load files into the browser. No server involved:
<imgsrc="https://raw.githubusercontent.com/codeAesthetic/react-file-upload-progress/main/assets/upload.gif"alt="Pressing Upload sends the already-loaded file to the server with its own progress bar"width="520" />
83
+
<imgsrc="https://raw.githubusercontent.com/codeAesthetic/react-file-progress/main/assets/upload.gif"alt="Pressing Upload sends the already-loaded file to the server with its own progress bar"width="520" />
84
84
85
85
Or skip the wait and upload as soon as each file lands:
86
86
@@ -130,7 +130,7 @@ Rejected files appear in the same list as errors, so there's only one thing to r
|`ProgressBar`|`value`, `status`, plus everything above |
132
132
133
-
<imgsrc="https://raw.githubusercontent.com/codeAesthetic/react-file-upload-progress/main/assets/custom.gif"alt="The same uploader rendered with a custom card and a gradient progress bar"width="520" />
133
+
<imgsrc="https://raw.githubusercontent.com/codeAesthetic/react-file-progress/main/assets/custom.gif"alt="The same uploader rendered with a custom card and a gradient progress bar"width="520" />
134
134
135
135
**CSS** — class names are stable and unhashed (`rfu-root`, `rfu-item`, `rfu-progress`…), bars carry `data-status`, and colors are custom properties:
Copy file name to clipboardExpand all lines: package.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
{
2
-
"name": "react-file-upload-progress",
2
+
"name": "react-file-progress",
3
3
"version": "0.1.0",
4
4
"description": "React progress bar for reading a file from the hard disk/SSD into the browser, plus a separate one for uploading it to your server when you choose. Drop zone, swappable components, zero dependencies, TypeScript types",
0 commit comments