felt-recipe-minimal

Minimal recipe for Felt


Keywords
felt
License
MIT
Install
npm install felt-recipe-minimal@0.2.0

Documentation

felt-recipe-minimal

This is a minimal recipe for Felt.

$ npm install felt-recipe-minimal

Usage via CLI

$ felt --recipe minimal --src public

Usage via Express

'use strict'
const
  express = require('express'),
  felt = require('felt'),
  recipe = require('felt-recipe-minimal')

const
  app = express(),
  flavor = { src: 'public' }

app.use(felt(recipe, flavor))
app.use(express.static('public'))
app.listen(3000)