kiruthiga 55473b7e7c initial push 5 dagen geleden
..
scripts 55473b7e7c initial push 5 dagen geleden
.travis.yml 55473b7e7c initial push 5 dagen geleden
CHANGELOG.md 55473b7e7c initial push 5 dagen geleden
LICENSE 55473b7e7c initial push 5 dagen geleden
README.md 55473b7e7c initial push 5 dagen geleden
globals-docs.json 55473b7e7c initial push 5 dagen geleden
index.js 55473b7e7c initial push 5 dagen geleden
package.json 55473b7e7c initial push 5 dagen geleden

README.md

globals-docs

build status

Documentation URIs for JavaScript globals.

docs

Docs: an object of documentation as a plain-old-javascript object.

Has keys that correspond to environments:

  • builtin
  • nonstandard
  • browser
  • worker
  • node

getDoc

Get a URL for a global object.

Parameters

name type description
name string name of the global object
env Array<string> environments that will be reached. By default tries all environments

Examples

getDoc('Array'); // yields MDC documentation for Array

Returns the URL of the documentation resource, if found