0.1.0 • Published 5 years ago
fu-doc v0.1.0
Search MDN Documentation through the command line
Inspired by go doc, tldr and other CLI-oriented dev documentation, fu-doc is a small command line tool to quickly search through MDN docs.
It can output full MDN pages as markdown, but it is mostly useful to get a quick reminder on things like parameters, return values, usage etc without leaving your terminal.
Install
npm i -g fu-doc
Contribute
git clone git@github.com:naethiel/fu-doc.gitcd fu-doc && npm inpm run tscto build the dist from TS sources.- you can use
npm startto run the local version of your TS code without having to compile withnpm run tscbeforehand - use
npm linkto make your local copy available as the globalfucommand
Usage
$ fu <query>.
If you know what you are searching for and want it to be faster, you can use the fast-search flag: $ fu -f array.map to auto-return the first search result
Example
Anything relative to JS, HTML, CSS:
fu array.reduce
fu querySelector
fu flexbox
etc ...