Skip to content

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

Notifications You must be signed in to change notification settings

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 [email protected]

🙏 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