Socket
Socket
Sign inDemoInstall

proto-launch

Package Overview
Dependencies
74
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    proto-launch

Small tool to host JavaScript prototypes on a local server


Version published
Weekly downloads
2
Maintainers
1
Install size
1.88 MB
Created
Weekly downloads
 

Readme

Source

proto-launch

Small tool to host javascript prototypes on a local server.

Installation

npm install -g proto-launch

Optionally, you can install proto-launch locally.

npm install --save-dev proto-launch

Usage

From within your project, simply run proto-launch and a URL to your prototype will be printed to the command line.

e.g.

Project live at http://127.0.0.1:36990

If you have installed locally, in your package.json you can refer to proto-launch in your package scripts, example:

"scripts": {
  "launch": "proto-launch"
},

Configuration

Currently proto-launch isn't configurable, it simply launches a small website with a webpage wrapping the script pointed to by main in your package.json.

In the future I may add Webpack support to save you from having to bundle your project beforehand (contributions before I get to this are more than welcome).

Keywords

FAQs

Last updated on 30 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc