Wondering what’s next for npm?Check out our public roadmap! »

    stackrabbit-content-parser

    1.0.0 • Public • Published

    Stackrabbit Content Parser

    Circle CI

    Message content parsing middleware for stackrabbit

    Installation

    npm install stackrabbit-content-parser
    

    Getting Started

    const stackrabbit = require('stackrabbit')
    const contentParser = require('stackrabbit-content-parser')
     
    const listener = stackrabbit({
      ...
    })
     
    listener.use(contentParser())
     
    listener.listen(function * () {
      // this.content is now available
      console.log(this.content)
    })
     
    listener.connect()

    Install

    npm i stackrabbit-content-parser

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar