@web-std/file
Web API compatible File implementation for node
Last updated 3 years ago by gozala .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @web-std/file 
SYNC missed versions from official npm registry.

web-file

ci package downloads styled with prettier

Web API compatible File for nodejs.

Usage

import { File, Blob } from "@web-std/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 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 @web-std/file

Current Tags

  • 3.0.3                                ...           latest (3 years ago)

10 Versions

  • 3.0.3                                ...           3 years ago
  • 3.0.2                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.3                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (12)

Copyright 2013 - present © cnpmjs.org | Home |