Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 340 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 340 Bytes

Polytope

To install dependencies:

bun install

To run:

bun test

Goals

import { Polytope } from "polytope";

const data = [{ price: 100 }, { price: 200 }];

const polytope = new Polytope({ data, functions: [] });

const formula = "=SUM({price})";
const result = polytope.execute(formula);