开发者社区> 镜像站> NPM> nif
nif
node --inspect a file and open devtool url in chrome via chrome-cli.
Last updated 4 years ago by thlorenz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nif 
SYNC missed versions from official npm registry.

nif

node --inspect a file and open devtool url in chrome via chrome-cli

nif ./myfile

assets/nif.gif

Installation

1. Install chrome-cli

only supports OSX ATM

brew install chrome-cli

2. Install nif

npm install -g nif

Requirements

Node.js v6 or higher.

Why?

I just got tired of copy/pasting the chrome-devtools:// url all the time.

License

MIT

Current Tags

  • 1.0.2                                ...           latest (4 years ago)

3 Versions

  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None