Socket
Book a DemoInstallSign in
Socket

@coserv/cli

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coserv/cli

Command line tools for the coServ web server

latest
Source
npmnpm
Version
0.2.5
Version published
Maintainers
2
Created
Source

@coserv/cli

A command line tool for coServ v1.0. You can use it to create (initialize) web applications and start/stop a coServ server instance. It can help you to save quite a few key strokes. Please note that this command line tool does NOT work with coServ pre-release versions (version < 1.0).

Prerequisites

Both the CLI and generated project have dependencies that require Node 8.9.0 or higher.

Install

npm install -g @coserv/cli

Usage

To create a new web app:

cd your_working_directory
xs create app_name

To start coServ using CLI: stay in your working directory and use the following commands

# start the service
xs service

# stop the service
xs service stop

# restart the service
xs service restart

CLI will start a coServ service at port 4040.

You can simply type xs to see help messages.

Keywords

coServ

FAQs

Package last updated on 26 Jun 2019

Did you know?

Socket

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