1.0.11 • Published 3 years ago

@art-suite/global v1.0.11

Weekly downloads
5
License
ISC
Repository
github
Last release
3 years ago

@art-suite/global

Ever try to run the same code on NodeJS and in the browser and find it fails in one or the other because the global namespace variable isn't standard? This tiny library fixes that.

After you require("@art-suite/global") you'll find the global variable is available everywhere as a consistent way to access the global namespace.

Ensures:

  • global === require('@art-suite/global')
  • global.global === global
  • on browser: window === global
  • on node: global === global (global is already set ;) )
1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago