1.0.0 • Published 9 years ago

ghost-as-middleware v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

Ghost as Middleware

Installation

$ npm install ghost-as-middleware

Usage

var app = require( 'express' )()
var ghost = require( 'ghost-as-middleware' )
app.get( '/', function( req, res ){
    res.send( 'this is my app!' )
})

app.use( '/blog', ghost() )
app.listen( 8888 )

Note

You'll need to adjust the settings for the css and js paths to be correct

1.0.0

9 years ago