Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.79 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.79 KB

fever

Version npmBuild StatusDependenciesCoverage Status

Fever is the new asset build/pipeline/server/service for the BigPipe framework.

  • Assets that are requested frequently are placed hot cached in the memory of the Node process.
  • A plugin system allows the modification of file contents so things like SASS, LESS and CoffeeScript can be supported transparently.
  • Source maps are integrated so you will always have the correct line numbers.
  • A custom file engine is used so you can switch between any more that supports a File System like API. This is great if you want to store the files directly on a network partition like a CDN etc.

Installation

npm install --save fever

Usage

'use strict';

var fever = require('fever')
  , new Fever({ /* options */ });

When constructing a new Fever instance you can supply the following options to further customize your build service:

  • engine: The file system like API you want to use. Defaults to supreme.
  • directory: The location in which the compiled assets will be stored.
  • hotpath: Options for our hot path cache.
  • recache: The amount of requests we should receive before triggering a re-cache.

License

MIT