pruno-http

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

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.
    });
});

Metadata

  • ISC
  • Whatever
  • Christian de Botton
  • released 4/22/2015

Downloads

Maintainers