formatfusionjs
v1.1.10
Published
Effortlessly Convert Between Data Formats with FormatFusion. FormatFusion is your one-stop solution for seamless conversion between YAML, JSON, and XML formats.
Downloads
8
Readme
FormatFusion
About FormatFusion
Effortlessly Convert Between Data Formats with FormatFusion FormatFusion is your one-stop solution for seamless conversion between YAML, JSON, and XML formats. This user-friendly tool empowers developers, data analysts, and anyone working with data.
:star: If you find FormatFusion useful, please consider giving us a star on GitHub! Your support helps us continue to innovate and deliver exciting features.
Features
- YAML To JSON Data Conversion: Convert yaml data to json.
- JSON To YAML Data Conversion: Convert json data to yaml.
- YAML To XML Data Conversion: Convert yaml data to xml.
- XML To YAML Data Conversion: Convert xml data to yaml.
- JSON To XML Data Conversion: Convert json data to xml.
- XML To JSON Data Conversion: Convert xml data to json.
Who Can Use This ?
- Developers: Convert configuration files and application data between formats with ease.
- Data Analysts: Transform data from various sources into JSON for seamless analysis and visualization.
- Technical Professionals: Work with data in different formats smoothly and confidently.
FormatFusionJS Setup Instructions
Prerequisites
- A computer with NodeJS installed
- npm installed
Installation
- Open a terminal or command prompt.
- Run the following command:
npm install formatfusionjs
Quick Start
Here is the example of using FormatFusion to convert yaml data to json.
const ff = require("formatfusionjs");
yaml_data = `name: John Doe
age: 30
address:
street: Jalan Merdeka
city: Jakarta
province: DKI Jakarta
`;
data = ff.yamlToJson(yaml_data);
console.log(data);
the code above will return
{
"name": "John Doe",
"age": 30,
"address": {
"street": "Jalan Merdeka",
"city": "Jakarta",
"province": "DKI Jakarta"
}
}
For more examples, you can visit our documentation.
Contributing
Kindly read our Contributing Guide to familiarize yourself with ToolJet's development process, how to suggest bug fixes and improvements, and the steps for building and testing your changes.
Contributors
License
FormatFusion © 2023, Released under the MIT License.