open-webstorm

Open Jetbrains Webstorm Workspace from Node.js

Usage no npm install needed!

<script type="module">
  import openWebstorm from 'https://cdn.skypack.dev/open-webstorm';
</script>

README

open-webstorm

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

MIT

See full license on mooyoul.mit-license.org