1.0.1 ā€¢ Published 3 years ago

js-obj-printer v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

šŸ“‹ js-obj-printer

NPM version NPM downloads Build Status

šŸ“‹ 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)
1.0.1

3 years ago

1.0.0

3 years ago