UNPKG

beautiful-react-hooks

Version:

A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development

12 lines (11 loc) 261 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var safelyParseJson = function (parseString) { try { return JSON.parse(parseString); } catch (e) { return null; } }; exports.default = safelyParseJson;