data-inspect

1.0.0 • Public • Published

data-inspect

params

  • data: any
  • options: object
    • expanded: boolean (default: false)

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)

Readme

Keywords

none

Package Sidebar

Install

npm i data-inspect

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

4.55 kB

Total Files

4

Last publish

Collaborators

  • houssamdev21