102 / mdn-open

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mdn-open

A CLI tool that makes MDN search easy for anyone with access to command line

Powered by https://mdn.io/

Usage

# to use it this tool, you can either install it
# with npm
npm install -g mdn-open
# with yarn
yarn global add mdn-open
# and use it passing the search query as argument
mdn object tostring

# or, if you don't want to install it, you can use npx
npx mdn-open object tostring

# MDN docs about Object.prototype.toString() will open in your default browser
# https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toString

About

License:MIT License


Languages

Language:JavaScript 100.0%