Skip to content

Latest commit

 

History

History
28 lines (13 loc) · 604 Bytes

README.md

File metadata and controls

28 lines (13 loc) · 604 Bytes

NPM

What

One Page to Rule them All

Eh.. what?

Provides functions for serving and building html-files for single page applications.

Handles such tedious things as concatenating, compressing and compiling files before putting them into the html file.

Supports coffeescript and less out of the box.

How

var opra = require('opra');

// express mumbo-jumbo here...

app.use(opra.serve(__dirname + '/public', { inline: true }));

Spec

Run them like this: mocha --require spec/lib.js spec/*