UNPKG
dump-die
Version:
latest (1.0.0)
1.0.0
0.1.0
Dump an object and kill the process in node.js
github.com/spatie/dump-die
spatie/dump-die
dump-die
/
lib
/
inspect.js
14 lines
(10 loc)
•
206 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict'
const
util =
require
(
'util'
)
function
inspect
(
thing
) {
return
util.
inspect
(thing, {
showHidden
:
true
,
depth
:
null
,
colors
:
true
}) }
module
.
exports
= inspect