@jeffreyschwartz/environment
v0.0.3
Published
Exports window or global depending on the runtime environment being either Windows or Node
Downloads
1
Readme
environment
A simple node module that exports window or global depending on the runtime environment being either Windows or Node
Though written in TypeScript, this module can also be used with plain old JavaScript.
Usage
From the command-line, run the following:
npm install @jeffreyschwartz/environment
In your code, require it:
var environment = require("@jeffreyschwartz/environment");
license
MIT