Skip to content

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

License

Notifications You must be signed in to change notification settings

MixeryOSS/node-polyfills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published