Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 1.55 KB

README.md

File metadata and controls

62 lines (41 loc) · 1.55 KB

open-webstorm

Demo

Dependency Status devDependency Status Known Vulnerabilities MIT license

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.token

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

MIT

See full license on mooyoul.mit-license.org