err2obj (npm): A tiny tool transfer an Error instance to plain object, and vice versa.
Keywords: error|object|transfer|json