New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rsas

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rsas

Really Simple Angular Server

latest
Source
npmnpm
Version
0.6.3
Version published
Maintainers
1
Created
Source

rsas Build Status

A super-basic angular server

Can be used globally or required as a module

Installing

Stand alone

npm install -g rsas

As a module

npm install --save rsas

Usage

Stand alone

Simple

rsas

Fully loaded

rsas /my-angular-project --port=8080 --env=production --proxy-url=www.google.com --proxy-route=/proxy

As a module

Quarter-pounder

var rsas = require('rsas');
rsas.listen();

With cheese

var rsas = require('rsas');
rsas.listen({
    dir: '/my-angular-project',
    port: 8080,
    env: 'production',
    'proxy-url': 'www.google.com',
    'proxy-route': '/proxy'
});

Options

port

Type: Number
Default value: 9000

The port to listen on.

dir

Type: String
Default value: current working directory

The directory to serve.

env

Type: String
Default value: development

The current development environment development/production.

proxy-url

Type: String
Default value: undefined

The url for the proxy to forward to.

proxy-route

Type: String
Default value: /api

The server route to forward to the proxy.

Keywords

angular

FAQs

Package last updated on 09 Aug 2015

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