cidori
Simple CLI to convert directory to json file.
List Features
- [x] Convert directory to JSON.
Install
yarn add -D cidori // or
npm install --save-dev cidori
Usage
Create a folder project
and sub directory name with folder
.
./project
|-folder
|--hello.txt -> "caption=hello"
- Please type with
npx cidori folder output.json
than get the result at bellow.
// ./output.json
{
"folder": [
{
"text": {
"caption": "hello"
},
},
],
}
Thanks, Feel free to contribute!