@@ -9,7 +9,7 @@ Web API compatible [File][] for nodejs.
9
9
### Usage
10
10
11
11
``` js
12
- import { File , Blob } from " web-file-polyfill "
12
+ import { File , Blob } from " @ web-std/ file"
13
13
const file = new File ([" hello" , new TextEncoder ().encode (" world" )], " hello" )
14
14
for await (const chunk of blob .stream ()) {
15
15
console .log (chunk)
@@ -24,14 +24,14 @@ be able to get all the type innference out of the box.
24
24
25
25
## Install
26
26
27
- npm install web-file
27
+ npm install @ web-std/ file
28
28
29
- [ node.js ci ] : https://github.com/Gozala/ web-file/workflows/Node.js%20CI/badge.svg
30
- [ version.icon ] : https://img.shields.io/npm/v/web-file.svg
31
- [ downloads.icon ] : https://img.shields.io/npm/dm/web-file.svg
32
- [ package.url ] : https://npmjs.org/package/web-file
33
- [ downloads.image ] : https://img.shields.io/npm/dm/web-file.svg
34
- [ downloads.url ] : https://npmjs.org/package/web-file
29
+ [ node.js ci ] : https://github.com/web-std/ file/workflows/Node.js%20CI/badge.svg
30
+ [ version.icon ] : https://img.shields.io/npm/v/@ web-std/ file.svg
31
+ [ downloads.icon ] : https://img.shields.io/npm/dm/@ web-std/ file.svg
32
+ [ package.url ] : https://npmjs.org/package/@ web-std/ file
33
+ [ downloads.image ] : https://img.shields.io/npm/dm/@ web-std/ file.svg
34
+ [ downloads.url ] : https://npmjs.org/package/@ web-std/ file
35
35
[ prettier.icon ] : https://img.shields.io/badge/styled_with-prettier-ff69b4.svg
36
36
[ prettier.url ] : https://github.com/prettier/prettier
37
37
[ blob ] : https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob
0 commit comments