nuǝW pǝuoᴉʇᴉsoԀ ʎlǝʌᴉʇɐƃǝN

    serve-compass

    0.0.0 • Public • Published

    serve-compass

    NPM version

    Serve middleware for mocking compass

    Usage

    // express
    var express = require('express')
    var serveCompass = require('serve-compass')
     
    var app = express()
     
    app.use(serveCompass())
    app.listen(3000)
    // dong-queue
    var Queue = require('dong-queue')
    var serveCompass = require('serve-compass')
     
    var queue = new Queue()
     
    queue.use(serveCompass())
     
    http.createServer(function onRequest(req, res){
      queue.run(req, res, function() {
        // finalhandler
      })
    })

    Install

    npm i serve-compass

    DownloadsWeekly Downloads

    5

    Version

    0.0.0

    License

    none

    Last publish

    Collaborators

    • imliwenfu