Novel Personal Mantras

    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

    2

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • joshwillik