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

Package Sidebar

Install

npm i stackrabbit-content-parser

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • danethurber