Guess the indentation of a JSON string.
MIT License
⛑️ JSON serialization should never fail
💣 Error handler for CLI applications 💥
Check if a value is an `Error` instance.
`modern-errors` plugin to create HTTP error responses.
TypeScript library template
Get the UTF-8 byte length of a string.
Find the process's time resolution
Create HTTP error responses.
Properly wrap an error's message.
Like `performance.now()` but in nanoseconds
Truncate a JSON string.
Properly update an error's message.
Check if a value is valid JSON.
Log errors with Winston
Like `string.slice()` but bytewise.