Skip to main content

Installation

Using npm (Node.js)

Install the datadance package from npm:

npm install datadance

Then import it in your project:

import { transform } from "datadance";

Or with CommonJS:

const { transform } = require("datadance");

Local Development Setup

Datadance uses Deno (version 1.x) for local development. The last known compatible version is Deno 1.46.3.

Install Deno

Linux / macOS:

curl -fsSL https://deno.land/install.sh | sh

Windows (PowerShell):

irm https://deno.land/install.ps1 | iex

If you have Deno 2 installed, downgrade to 1.x:

deno upgrade --version 1.46.3

Clone and run

git clone https://github.com/yakshavingdevs/datadance.git
cd datadance
deno task start

The server starts at http://localhost:8000.

Available commands

CommandDescription
deno task startStart development server with watch mode
deno task buildBuild production server
deno task previewRun production server
deno task compileCompile CLI binary to ./bin/datadance
deno task build-packageBuild npm package via dnt
deno task checkRun formatter, linter, and type checks