Skip to content

fonckchain/json-transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

JSON Transformer

A simple Node.js script to transform JSON data into a different structure. This script is particularly useful for flattening nested JSON arrays and mapping them into a new structure.

πŸš€ Getting Started

πŸ” Dependencies

  • Node.js
  • fs (File System) module in Node.js

πŸ“¦ Installation

  1. Clone the repository to your local machine.
git clone https://github.com/fonckchain/json-transformer.git

πŸ› οΈ Using the Script

  1. Modify the inputFile variable in transform.js to the path of your input JSON file.
  2. Modify the outputDir variable in transform.js to the path of your desired output directory.
  3. Run the script with:
node transform.js

πŸ“„ License

This project is licensed under the MIT License.

πŸ“¬ Contact

If you have any questions, feel free to contact me at AFonck@protonmail.com

πŸ™ Acknowledgements

About

A simple Node.js script to transform JSON data into a different structure

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published