Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

iopa-static

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iopa-static

Static File Server Middleware for the IOPA Stack for Node.js

latest
Source
npmnpm
Version
1.4.1
Version published
Maintainers
1
Created
Source

IOPA
iopa-static

Build Status IOPA limerun

NPM

About

iopa-static is IOPA middleware for serving static files

Written in plain javascript for maximum portability to constrained devices

Status

Working prototype

Installation

npm install iopa-static

Usage

const iopa = require('iopa'),
    iopaConnect = require('iopa-connect')
    static = require('iopa-static'),
    http = require('http')

var app = new iopa.App();

app.use(static(app, './public'));

http.createServer(app.buildHttp()).listen(8000);

Keywords

iopa

FAQs

Package last updated on 05 Jul 2016

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