1.0.2 • Published 10 years ago

waht v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

waht

Displays a documentation section from the given docs page. Currently only supports core JavaScript object documentation on MDN.

You can see this project being built in the Coding from Scratch video series.

Dependencies

Requires Node.js.

Installation

npm install -g waht

Usage

waht page [section]

  • page: docs page to use. e.g. Math.min or Math.min()
  • section (optional): which section of the page to show. Valid values: summary, syntax, desc

e.g.:

waht Math.min() syntax or waht Math.min syntax

will output:

Syntax
Math.min([value1[,value2, ...]])
Parameters


  value1, value2, ...

  Numbers.
1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago