UNPKG

json-parse

Version:

Curried function that calls `JSON.parse` on provided input returning either the parsed JSON or the specified default value if the data fails to parse as valid JSON instead of throwing a `SyntaxError`.

19 lines (14 loc) 370 B
# Change Log All notable changes to this project will be documented in this file (keepachangelog.com). ## 1.0.3 - 2016-01-22 ### Added - Added list of alternative packages. ## 1.0.2 - 2016-01-21 ### Changed - Updated dependencies. ## 1.0.1 - 2016-01-21 ### Added - Additional keywords. ## 1.0.0 - 2016-01-21 ### Added - Major API change & semver (major) bump to v1.