1.0.1 ā¢ Published 3 years ago
js-obj-printer v1.0.1
š js-obj-printer
š npm module that print out the JavaScript objects in strings based and display in the inspect console or terminal window!
Features
- Efficiently check if the response object is valid.
- If the response object is null, will print out
The object is Null
Installation
Install locally for any project:
npm i tocsify js-obj-printer
Usage
js-obj-printer provides the resDateLogger
method. To apply the method, you can require it:
const { resDateLogger } = require('js-obj-printer')
Next, you just need to pass in the Javascript object
Example:
resDateLogger(res.data)