1.1.5 • Published 4 years ago

obj-dec v1.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Object Decomposer

{
  a: {
    a: [
      'a',
      true
    ]
  },
  b: 'Hello world',
  c: [
    {
      e: true
    }
  ],
}

Will be like this Example of Object Decomposer

Syntax

Print

const print = require('obj-dec');

const a = {
  a: {
    a: [
      'a',
      true
    ]
  },
  b: 'Hello world',
  c: [
    {
      e: true
    }
  ],
}

print(a);

The print function recivies two parameters

Data
The object to Print

Depth
How depth will excavate in the data.
It could be true fot ignore depth or a number finite

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago