Socket
Book a DemoInstallSign in
Socket

testatic

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testatic

Simple static web server for tests

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

testatic

Setup a static web server for testing with basic options.

Installation

npm install --save[-dev] testatic

Usage

var server = require('testatic')('./public', 8080);
server.close();

API

  • dir: directory to serve static files from (default ./)
  • port: directory to serve static files from (default 8080)

Contributing

Open issues in github. Pull requests welcome!

Author

Jerome Touffe-Blin, @jtblin, About me

License

testatic is copyright 2015 Jerome Touffe-Blin and contributors. It is licensed under the BSD license. See the include LICENSE file for details.

Keywords

static

FAQs

Package last updated on 07 Feb 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