formatfusionjs
TypeScript icon, indicating that this package has built-in type declarations

1.1.10 • Public • Published

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.

⭐ If you find FormatFusion useful, please consider giving us a star on GitHub! Your support helps us continue to innovate and deliver exciting features.

GitHub contributors GitHub Repo stars GitHub commit activity (branch) GitHub Release Date - Published_At GitHub release (with filter) GitHub License

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

  1. Open a terminal or command prompt.
  2. 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.

Package Sidebar

Install

npm i formatfusionjs

Weekly Downloads

1

Version

1.1.10

License

MIT

Unpacked Size

13.6 kB

Total Files

9

Last publish

Collaborators

  • wahyou