pruno-http

2.1.3 • Public • Published

pruno-http

A simple HTTP server for pruno. Especially useful for prototyping or building static sites.

Usage

"use strict";

var pruno = require('pruno');

pruno.plugins(function(mix) {
  mix
    .configure({ dir: __dirname + '/config' })
    .http({
      listen: 3000,
      env: 'development',
      dist: './dist',
      file: './server.js' // If you want to use your own simple http server.
    });
});

Package Sidebar

Install

npm i pruno-http

Weekly Downloads

1

Version

2.1.3

License

ISC

Last publish

Collaborators

  • cdebotton