1.0.0 • Published 1 year ago
domino-global v1.0.0
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
1.0.0
1 year ago