convert-string-to-object

Helps to reverse the action of stringify which is to convert an Object from string

Usage no npm install needed!

<script type="module">
  import convertStringToObject from 'https://cdn.skypack.dev/convert-string-to-object';
</script>

README

convert-string-to-object

This package will help you reverse the action of stringify which is to convert Object from string.

const object = convertToObject('{hello: world}')

output: {hello: world}