# detect-globals

> almost detect globals created from JavaScript source code

Latest version **0.0.0** (published 2013-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install detect-globals
pnpm add detect-globals
yarn add detect-globals
bun add detect-globals
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2013-09-13 |
| First published | 2013-09-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Ryan Florence |
| Maintainers | ryanflorence |

## Links

- npm: https://www.npmjs.com/package/detect-globals
- Repository: https://github.com/rpflorence/detect-globals
- Issues: https://github.com/rpflorence/detect-globals/issues
- npm.io page: https://npm.io/package/detect-globals

## Dependencies (2)

- [mout](https://npm.io/package/mout.md) ~0.7.0
- [esprima](https://npm.io/package/esprima.md) ~1.0.4

## Recent versions

- 0.0.0 (latest) — 2013-09-13

## README

Detect Globals
==============

This is not complete!

It gets globals, and a few other things as well. Looking for any help I
can get on this module.

Run tests with `npm test`, or `npm run-script watch-test`.

API is simple, it should return an array of what the browser would put
on window. It puts a lot more than that right now though.

```js
var detect = require('detect-globals');
detect("var a = 'a'; this.b = 'b';");
// [ 'a', 'b' ]
```

---
_Source: https://npm.io/package/detect-globals · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
