open-webstorm
v1.0.0
Published
Open Jetbrains Webstorm Workspace from Node.js
Downloads
4
Readme
open-webstorm
Open Jetbrains Webstorm IDE Workspace from Node.js
Installation
$ npm install open-webstorm
Getting Started
var openWebstorm = require('open-webstorm');
openWebstorm('.'); // open current directory
API
openWebstorm(workspacePath, options)
workspacePath
Required
Type: string
The workspace path that you want to open with Webstorm.
options
Optional
Type: object
options.port
Optional
Type: number
, string
The port which is Webstorm is listening. If not specified, open-webstorm will find this port.
options.port
Optional
Type: number
, string
The token which is provided by Webstorm. If not specified, open-webstorm will find this token.
options.cwd
Optional
Default: process.cwd()
License
See full license on mooyoul.mit-license.org