timoxley

timoxley/serializerr

Convert Errors & Objects into an easily-serialized vanilla Object.

JavaScript
15
0
MIT License

serializerr is a Node.js library that converts Errors and Objects into easily-serializable vanilla Objects by flattening the prototype chain and making non-enumerable properties enumerable. This allows Error objects to be properly serialized to JSON without losing important data like name, message, and stack. It's designed for developers who need to transmit Error objects over JSON-encoded connections, such as in web APIs or distributed systems.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of timoxley/serializerr

Account's avatar
Get the prototype chain of any value as an Array
Account's avatar
JavaScript Standard Style
Account's avatar
tap-producing test harness for node and browsers

Support the repos that depend on this repository

Top contributors

timoxley's profile
timoxley
21 contributions
greenkeeperio-bot's profile
greenkeeperio-bot
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet