jsoncon

1.0.0 • Public • Published

#jsoncon

jsoncon is a javascript text file to json convertor. jsoncon inputs a text file and outputs a json file in array format.

How to use:

npm i jscon

import convertor from 'jsoncon'

const obj = new convertor();
obj.convert("index.txt", "index.json") //index.txt is the input file and index.json is the json file

You can use what ever txt file you want but it has to exist and it has to be a txt file.

index.json file just creates a new json file called index.json or it overwrites a preexisting json file.

/jsoncon/

    Package Sidebar

    Install

    npm i jsoncon

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    2.43 kB

    Total Files

    6

    Last publish

    Collaborators

    • jamcha123