massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / flatted / cjs / index.js
index ea7ac895154e463c650ffb6121bd9c7273475456..c2c94866d336592ffdc1a329caecb755178c2856 100644 (file)
@@ -92,3 +92,8 @@ const stringify = (value, replacer, space) => {
   }
 };
 exports.stringify = stringify;
+
+const toJSON = any => $parse(stringify(any));
+exports.toJSON = toJSON;
+const fromJSON = any => parse($stringify(any));
+exports.fromJSON = fromJSON;