
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.
npm install datadanceimport { 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();