Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
string representations of objects in node and the browser
Convert bytes to a human readable string: 1337 → 1.34 kB
See nodejs errors with less clutter
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
Stringify an object/array like JSON.stringify just without all the double-quotes
render nested hierarchies `npm ls` style with unicode pipes
Convert an object or array into a formatted string
Log things, prefixed with a timestamp.
Stringify Object as tree structure
Get a formatted timestamp.
converts a JS object into a nice and readable tree structure for the console
Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.
Some tweaks for beautifying HTML with js-beautify according to my preferences.
Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.
- stack
- stacktrace
- stack printer
- error printer
- print error
- print stack
- print debug trace
- debug
- trace
- parse
- pretty
- callstack
- call stack
- View more
Git commit, but play nice with conventions.
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
Slugify a string
- string
- slugify
- slug
- url
- url-safe
- urlify
- transliterate
- transliteration
- deburr
- unicode
- ascii
- text
- decamelize
- pretty
- View more
Pretty time zone: `+2` or `-9:30`
Pretty print JavaScript data types in the terminal and the browser
Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)