splain

0.0.1 • Public • Published

node-splain

creates human-readable type diagrams of deep objects, specifically to simplify reverse-engineering webservice APIs

API Reference

describe(object [, options])

Returns an object representing the internal format of the object. Valid options are detect_url and detect_int, which will allow heuristic detection of url strings as the 'url' type, and integral numbers as the 'integer' type.

explain(object [, options])

Returns a string representation of the object format provided by util.inspecting the output of describe(object).

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i splain

Weekly Downloads

1

Version

0.0.1

License

BSD

Last publish

Collaborators

  • sehrgut