rview
1.3.3 • Public • Published rview
Remote view server.
Installation
$ npm install rview --save
Usage
'use strict'
const rview = require('rview')
const co = require('co')
co(function * () {
yield rview({
'user': {
profile: co.wrap(function * userProfile (ctx) {
ctx.body = `
<!DOCTYPE html><html><!-- ... --></html>
`
})
}
}).listen(3000)
}).catch((err) => console.error(err))
License
This software is released under the MIT License.
Links
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.3.3
17
Version History
Package Sidebar
Install
Weekly Downloads