Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

ghost-as-middleware

1.0.0 • Public • Published

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

Install

npm i ghost-as-middleware

DownloadsWeekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • avatar