@yakshavingdevs/datadance
v1.0.2
Published
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
Downloads
46
Readme
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.
Installation
Install DataDance from npm:
npm install @yakshavingdevs/datadance
Where Datadance Shines
In many ETL pipeline scenarios, executing third-party or user-provided code can be both an operational and security challenge. Managing and isolating this code often becomes a complex task. DataDance solves this problem by offering a unique solution where third-party or user logic is expressed as DataDance transforms. These transforms are easy to maintain and eliminate the need for a traditional programming language shell. Internally, DataDance uses a parser that executes the specified transforms on the input JSON and produces an output JSON, ensuring both simplicity and security.
Internals
- Parser & Evaluation Engine: DataDance at its core uses MozJexl expression language to parse and evaluate transformations.
- Dependencies:
mozjexl
for expression evaluation.luxon
for date manipulation.jsonpath
for JSON querying.
Expression Language Reference
Refer to the MozJexl documentation for syntax and features available in the expression language.
Contributing
Development of DataDance happens in the open on GitHub. See the contributing guide for more information.