Gathering detailed insights and metrics for object-inspect
Gathering detailed insights and metrics for object-inspect
Gathering detailed insights and metrics for object-inspect
Gathering detailed insights and metrics for object-inspect
@types/object-inspect
TypeScript definitions for object-inspect
@poppinss/dumper
Pretty print JavaScript data types in the terminal and the browser
@devtools-ds/object-inspector
An emulation of the Chrome and Firefox object inspector, which allows you to view JavaScript objects in the console.
q-i
Node.js objects inspector with color highlighting
string representations of objects in node and the browser
npm install object-inspect
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99
Supply Chain
95.5
Quality
79.9
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
152 Stars
251 Commits
38 Forks
9 Watchers
6 Branches
8 Contributors
Updated on Jun 28, 2025
Latest Version
1.13.4
Package Id
object-inspect@1.13.4
Unpacked Size
100.51 kB
Size
27.37 kB
File Count
34
NPM Version
10.9.2
Node Version
23.6.1
Published on
Feb 05, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
24
string representations of objects in node and the browser
1var inspect = require('object-inspect'); 2var obj = { a: 1, b: [3,4] }; 3obj.c = obj; 4console.log(inspect(obj));
1var inspect = require('object-inspect'); 2 3var d = document.createElement('div'); 4d.setAttribute('id', 'beep'); 5d.innerHTML = '<b>wooo</b><i>iiiii</i>'; 6 7console.log(inspect([ d, { a: 3, b : 4, c: [5,6,[7,[8,[9]]]] } ]));
output:
[ <div id="beep">...</div>, { a: 3, b: 4, c: [ 5, 6, [ 7, [ 8, [ ... ] ] ] ] } ]
1var inspect = require('object-inspect')
Return a string s
with the string representation of obj
up to a depth of opts.depth
.
Additional options:
quoteStyle
: must be "single" or "double", if present. Default 'single'
for strings, 'double'
for HTML elements.maxStringLength
: must be 0
, a positive integer, Infinity
, or null
, if present. Default Infinity
.customInspect
: When true
, a custom inspect method function will be invoked (either undere the util.inspect.custom
symbol, or the inspect
property). When the string 'symbol'
, only the symbol method will be invoked. Default true
.indent
: must be "\t", null
, or a positive integer. Default null
.numericSeparator
: must be a boolean, if present. Default false
. If true
, all numbers will be printed with numeric separators (eg, 1234.5678
will be printed as '1_234.567_8'
)With npm do:
npm install object-inspect
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/30 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More