1.0.0 • Published 8 years ago

stackrabbit-content-parser v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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()