1.0.0 • Published 1 year ago

domino-global v1.0.0

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Domino Global

Make Node a browser-like environment, by using Domino.

Install

npm install --save domino domino-global

Usage

Simply importing it will register the following browser-like globals:

import 'domino-global';

console.log ( typeof globalThis.widnow ); // => 'object'
console.log ( typeof globalThis.document ); // => 'object'
console.log ( typeof globalThis.location ); // => 'object'

License

MIT © Fabio Spampinato