text-to-json

This will convert your text file data into json. No need to give any delimeter. Just give the file path to be read as the fist parameter and the destination file path for the json to be written.

Usage no npm install needed!

<script type="module">
  import textToJson from 'https://cdn.skypack.dev/text-to-json';
</script>

README