globals-docs
Version:
documentation links for all node and browser globals
42 lines (23 loc) • 779 B
Markdown
[](http://travis-ci.org/documentationjs/globals-docs)
Documentation URIs for JavaScript globals.
Docs: an object of documentation as a plain-old-javascript object.
Has keys that correspond to environments:
- builtin
- nonstandard
- browser
- worker
- node
Get a URL for a global object.
| name | type | description |
| ---- | ---- | ----------- |
| `name` | `string` | name of the global object |
| `env` | `Array<string>` | environments that will be reached. By default tries all environments |
```js
getDoc('Array'); // yields MDC documentation for Array
```
Returns the URL of the documentation resource, if found