@jeffreyschwartz/environment

0.0.3 • Public • Published

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

Dependents (1)

Package Sidebar

Install

npm i @jeffreyschwartz/environment

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • jeffreyschwartz