open-index/open-npm huggingface dataset:
npm package: @remix-run/web-file
Description: Web API compatible File implementation for node
Author: Irakli Gozalishvili
Latest version: 3.1.0

# web-file

[![ci][ci.icon]][ci.url]
[![package][version.icon] ![downloads][downloads.icon]][package.url]
[![styled with prettier][prettier.icon]][prettier.url]

Web API compatible [File][] for nodejs.

### Usage

```js
import { File, Blob } from "@remix-run/web-file"
const file = new File(["hello", new TextEncoder().encode("world")], "hello")
for await (const chunk of blob.stream()) {
  console.log(chunk)
}
```

### Usage from Typescript

This library makes use of [typescript using JSDOC annotations][ts-jsdoc] and
also generates type difinitions along with typed definition maps. So you should
be able to get all the type innference out of the box.

## Install

    npm install @remix-run/web-file

[ci.icon]: https://github.com/web-std/io/workflows/file/badge.svg
[ci.url]: https://github.com/web-std/io/actions/workflows/file.yml
[version.icon]: https://img.shields.io/npm/v/@remix-run/web-file.svg
[downloads.icon]: https://img.shields.io/npm/dm/@remix-run/web-file.svg
[package.url]: https://npmjs.org/package/@remix-run/web-file
[downloads.image]: https://img.shields.io/npm/dm/@remix-run/web-file.svg
[downloads.url]: https://npmjs.org/package/@remix-run/web-file
[prettier.icon]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg
[prettier.url]: https://github.com/prettier/prettier
[blob]: https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob
[fetch-blob]: https://github.com/node-fetch/fetch-blob
[readablestream]: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream
[readable]: https://nodejs.org/api/stream.html#stream_readable_streams
[file]: https://w3c.github.io/FileAPI/
[for await]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
[buffer]: https://nodejs.org/api/buffer.html
[weakmap]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap
[ts-jsdoc]: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
npm package: @remix-run/web-form-data
Description: Web API compatible Form Data implementation
Author: Irakli Gozalishvili
Latest version: 3.1.0

# @remix-run/web-form-data

[![ci][ci.icon]][ci.url]
[![package][version.icon] ![downloads][downloads.icon]][package.url]
[![styled with prettier][prettier.icon]][prettier.url]

Web API compatible [FormData][] for nodejs.

## Install

```sh
npm install @remix-run/web-form-data
```

[ci.icon]: https://github.com/web-std/io/workflows/form-data/badge.svg
[ci.url]: https://github.com/web-std/io/actions/workflows/form-data.yml
[version.icon]: https://img.shields.io/npm/v/@remix-run/web-form-data.svg
[downloads.icon]: https://img.shields.io/npm/dm/@remix-run/web-form-data.svg
[package.url]: https://npmjs.org/package/@remix-run/web-form-data
[downloads.image]: https://img.shields.io/npm/dm/@remix-run/web-form-data.svg
[downloads.url]: https://npmjs.org/package/@remix-run/web-form-data
[prettier.icon]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg
[prettier.url]: https://github.com/prettier/prettier
[formdata]: https://developer.mozilla.org/en-US/docs/Web/API/FormData
npm package: @remix-run/web-stream
Description: Web API compatible streams for node/web
Author: Irakli Gozalishvili
Latest version: 1.1.0

# @remix-run/web-stream

[![ci][ci.icon]][ci.url]
[![package][version.icon] ![downloads][downloads.icon]][package.url]
[![styled with prettier][prettier.icon]][prettier.url]

Web streams APIs across web & node. In browsers this library just exports stream constructors, in node it exports [native web stream implementations][node webstreams] when available and [web-streams-polyfill][]

> ⚠️ Please note that library makes no attempt to polyfill `WritableStream` or `TransforStream` in web browsers that do not have them.

### Usage

```js
import {
  ReadableStream,
  WritableStream,
  TransformStream,
} from "@remix-run/web-stream"
```

### Usage from Typescript

This library makes use of [typescript using JSDOC annotations][ts-jsdoc] and
also generates type definitions along with typed definition maps. So you should
be able to get all the type inference out of the box.

## Install

    npm install @remix-run/web-stream

[ci.icon]: https://github.com/web-std/io/workflows/stream/badge.svg
[ci.url]: https://github.com/web-std/io/actions/workflows/stream.yml
[version.icon]: https://img.shields.io/npm/v/@remix-run/web-stream.svg
[downloads.icon]: https://img.shields.io/npm/dm/@remix-run/web-stream.svg
[package.url]: https://npmjs.org/package/@remix-run/web-stream
[downloads.image]: https://img.shields.io/npm/dm/@remix-run/web-stream.svg
[downloads.url]: https://npmjs.org/package/@remix-run/web-stream
[prettier.icon]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg
[prettier.url]: https://github.com/prettier/prettier
[ts-jsdoc]: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
[node-webstreams]: https://nodejs.org/dist/latest-v16.x/docs/api/webstreams.html
[web-streams-polyfill]: https://www.npmjs.com/package/web-streams-polyfill