serialize-error
npmv13.0.1TypeScriptSerialize/deserialize an error into a plain object
Overview
serialize-error is an npm package that serialize/deserialize an error into a plain object. The latest version is 13.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need serialize/deserialize an error into a plain object and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of serialize-error.
Dependencies
Runtime (2)
Dev (4)
Used by
Popular packages that depend on serialize-error.
Alternatives to serialize-error
An error subclass for wrapping non-error values
string representations of objects in node and the browser
Convert character encodings in pure javascript.
A querystring parser that supports nesting and arrays, with a depth limit
`Object.defineProperty`, but not IE 8's broken one.
Create HTTP error objects
A small polyfill for Object.setprototypeof
Utility to parse a string bytes to bytes and vice-versa
Merge objects using their property descriptors
Really Fast Deep Clone
A small utility for creating warnings and emitting them.
An optimised way to copy'ing an object. A small and simple integration
Frequently installed together
A high-level API to control headless Chrome over the DevTools Protocol
Lightweight debugging utility for Node.js and the browser
Generates and consumes source maps
The ultimate javascript content-type utility.
Higher-level content negotiation
Get details about the current Continuous Integration environment
Programmatic access to the ARIA specification
TypeScript definitions for ws
A JavaScript parser built from the Hermes engine
invariant
High performance middleware framework
Utility functions for converting to and from URLs that encode query string data into URL paths
Version history
| Version | Published | License |
|---|---|---|
| 13.0.1latest | 6 months ago | MIT |
| 13.0.0 | 6 months ago | MIT |
| 12.0.0 | 1 year ago | MIT |
| 11.0.3 | 2 years ago | MIT |
| 11.0.2 | 2 years ago | MIT |
| 11.0.1 | 3 years ago | MIT |
| 11.0.0 | 4 years ago | MIT |
| 10.0.0 | 4 years ago | MIT |
| 9.1.1 | 4 years ago | MIT |
| 9.1.0 | 4 years ago | MIT |
| 9.0.0 | 4 years ago | MIT |
| 8.1.0 | 5 years ago | MIT |
| 8.0.1 | 5 years ago | MIT |
| 8.0.0 | 5 years ago | MIT |
| 7.0.1 | 6 years ago | MIT |
| 7.0.0 | 6 years ago | MIT |
| 6.0.0 | 6 years ago | MIT |
| 5.0.0 | 6 years ago | MIT |
| 4.1.0 | 7 years ago | MIT |
| 4.0.0 | 7 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install serialize-error?
Run `npm install serialize-error` to add serialize-error to your npm project.
What license is serialize-error released under?
serialize-error is distributed under the MIT license.
How popular is serialize-error?
serialize-error has approximately 0 downloads per week and 1 known dependent packages.