Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

globals

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globals - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

package.json
{
"name": "globals",
"version": "0.1.0",
"version": "0.1.1",
"description": "Global identifiers from different JavaScript environments",

@@ -33,4 +33,4 @@ "license": "MIT",

"devDependencies": {
"mocha": "~1.x"
"mocha": "*"
}
}

@@ -1,2 +0,2 @@

# globals [![Build Status](https://secure.travis-ci.org/sindresorhus/globals.png?branch=master)](http://travis-ci.org/sindresorhus/globals)
# globals [![Build Status](https://travis-ci.org/sindresorhus/globals.svg?branch=master)](https://travis-ci.org/sindresorhus/globals)

@@ -12,27 +12,20 @@ > Global identifiers from different JavaScript environments

Download [manually](https://github.com/sindresorhus/globals/releases) or with a package-manager.
#### [npm](https://npmjs.org/package/globals)
```sh
$ npm install --save globals
```
npm install --save globals
```
#### [Bower](http://bower.io)
```sh
$ bower install --save globals
```
bower install --save globals
```
#### [Component](https://github.com/component/component)
```sh
$ component install sindresorhus/globals
```
component install sindresorhus/globals
```
## Example
## Usage
```js
var globals = require('globals');
console.log(globals.browser);

@@ -53,2 +46,2 @@ /*

MIT © [Sindre Sorhus](http://sindresorhus.com)
[MIT](http://opensource.org/licenses/MIT) © [Sindre Sorhus](http://sindresorhus.com)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc