@witzbould/utils-json-parse

3.0.1 • Public • Published

JsonParse

Wrapper around Json.parse() to catch any errors and return a Promise.
The synchronous version returns an Object with data and error properties.
If the parsing failed the error is set and undefined otherwise.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.10latest
1.0.00pnpm-temp

Version History

VersionDownloads (Last 7 Days)Published
3.0.10
3.0.00
1.0.00

Package Sidebar

Install

npm i @witzbould/utils-json-parse

Weekly Downloads

0

Version

3.0.1

License

ISC

Unpacked Size

2.98 kB

Total Files

4

Last publish

Collaborators

  • witzbould