Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web APIs polyfills for Node

This package provides Web APIs polyfills for NodeJS, allows you to target Node with packages that strictly uses Web APIs.

While this package will forwards existing APIs when running in browser, it is better to just use Web APIs directly when you only target browser.

Usage

import * as webApi from "@mixery/node-polyfills";

let blob = new webApi.Blob([new Uint8Array(12), "hello world"]);
let audioSample = new webApi.AudioBuffer(/* ... */);
// ...

Implemented polyfills

About

Put some Web APIs to the popular server-side JavaScript runtime.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages