Datadance

Jam and Glam Your JSON. Make it dance.

DataDance is a versatile data processing package that makes handling JSON transformations straightforward and efficient. Our package accepts JSON input and allows you to define transformations using a code-like format. Provide your data and transformation rules, and DataDance will process them to deliver the desired output.

  
Install Datadance v1.0.2
npm install datadance

Usage
import { transform } from "datadance";  
async function process() {
  var res = await transform({
              input: { x: 2 },
              transforms: [{ x: "input.x+8" }],
              settings: {
                merge_method: "overwrite",
              },
            });
            console.log(res); // { x : 10 }
}
process();