Search results

1000+ packages found

string representations of objects in node and the browser

published version 1.13.4, 5 months ago1817 dependents licensed under $MIT
326,932,789

Convert bytes to a human readable string: 1337 → 1.34 kB

published version 7.0.0, 2 months ago1971 dependents licensed under $MIT
76,665,245

See nodejs errors with less clutter

published version 4.0.0, 4 years ago1054 dependents licensed under $MIT
62,741,398

Stringify an object/array like JSON.stringify just without all the double-quotes

published version 5.0.0, 2 years ago729 dependents licensed under $BSD-2-Clause
44,618,083

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

published version 9.2.0, 7 months ago1336 dependents licensed under $MIT
39,040,167

render nested hierarchies `npm ls` style with unicode pipes

published version 1.0.0, 11 years ago428 dependents licensed under $MIT
42,041,159

Convert an object or array into a formatted string

published version 1.0.2, 3 years ago21 dependents licensed under $BSD-2-Clause
14,782,462

Log things, prefixed with a timestamp.

published version 2.0.0, 3 years ago1197 dependents licensed under $MIT
14,604,379

Get a formatted timestamp.

published version 2.2.0, 7 years ago376 dependents licensed under $MIT
12,020,178

Stringify Object as tree structure

published version 5.0.1, 5 months ago36 dependents licensed under $MIT
10,614,162

converts a JS object into a nice and readable tree structure for the console

published version 1.1.0, 7 years ago311 dependents licensed under $MIT
7,994,582

Git commit, but play nice with conventions.

published version 4.3.1, 9 months ago833 dependents licensed under $MIT
6,694,490

Some tweaks for beautifying HTML with js-beautify according to my preferences.

published version 2.0.0, 8 years ago503 dependents licensed under $MIT
5,682,774

Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.

published version 1.1.0, 7 years ago94 dependents licensed under $MIT
6,588,669

Pretty time zone: `+2` or `-9:30`

published version 2.0.0, 4 years ago22 dependents licensed under $MIT
4,428,926

The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.

published version 4.0.0, 3 years ago268 dependents licensed under $MIT
7,345,182

Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.

published version 2.1.8, 3 years ago86 dependents licensed under $Unlicense
6,928,127

Slugify a string

published version 2.2.1, 2 years ago557 dependents licensed under $MIT
6,218,293

Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)

published version 4.1.0, a year ago77 dependents licensed under $MIT
2,917,310

Pretty print JavaScript data types in the terminal and the browser

published version 0.6.3, 4 months ago2 dependents licensed under $MIT
2,190,109