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

doppio-basic

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doppio-basic

doppio-basic ============

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

doppio-basic

doppio-basic is a plugin that allows doppio to configured with just a couple of environment variables.

Usage

First install the packages:

npm install doppio
npm install doppio-basic

Then load the plugin:

var doppio = require("doppio"),
    server;

doppio.loadPlugin("doppio-basic");
server = doppio();

See the doppio.loadPlugin() documentation for more details.

Configuration

The following environment variables are recognized:

APP_URL

The fully qualified URL that will be used to access the server. This essentially just updates what is returned by server.url().

PORT

This sets the port that the server process shoul listen on (does not affect server.url()). It should be noted that the server always uses the 'http' scheme when cofigured with doppio-basic.

FAQs

Package last updated on 02 Oct 2013

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