data-inspect
v1.0.0
Published
## params + data: `any` + options: `object` - expanded: `boolean` (default: false)
Downloads
5
Readme
data-inspect
params
- data:
any
- options:
object
- expanded:
boolean
(default: false)
- expanded:
return
html string
example with nodejs
var http = require('http')
var inspect = require('data-inspect')
http.createServer(function (req, res) {
let data = { test: 'any' }
let html = inspect(data)
res.end(html)
}).listen(3000)