Skip to content

ezakto/mdn-search

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

mdn-search

Quick tool for search in Mozilla Developer Network from command line, built with nodejs.

Install

npm install -g mdn-search

Usage

mdn [options] [command] <query>

Commands:

  • open opens the first search result in the browser. If open is not specified, results are listed.

Options

  • -o, --open same as mdn open.
  • -p, --page result's page. Defaults to 1.
  • -l, --limit results per page. Defaults to 5.
  • -t, --topic filter to apply (ie. js). Defaults to none.

Examples

List a few results:

mdn concat

List a few results with topic=js:

mdn -t js string

Open the first result:

mdn open css transitions

About

CLI to search in Mozilla Developer Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published