1.0.4 • Published 4 years ago
object-structure v1.0.4
object-structure
traverse an object and gives its structure
const t = require('object-structure')
console.log(JSON.stringify(t({a:{b:{c:1}}},null,2))
//{
// "a": {
// "b": {
// "c": "number"
// }
// }
//}