https://github.com/102/mdn-open
https://github.com/102/mdn-open
hacktoberfest
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/102/mdn-open
- Owner: 102
- License: mit
- Created: 2020-05-21T04:04:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-24T01:13:54.000Z (over 1 year ago)
- Last Synced: 2025-10-29T08:40:57.216Z (9 months ago)
- Topics: hacktoberfest
- Language: JavaScript
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mdn-open
A CLI tool that makes MDN search easy for anyone with access to command line
Powered by https://mdn.io/
## Usage
```bash
# 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
```