Skip to content

a formula realize, work with form-formula or excel-formula.

License

Notifications You must be signed in to change notification settings

xbb-web/super-formula

Repository files navigation

Super-Form-Formula🤓

a formula achieve, work with form or excel(todo)

Feature💻

  • CST Parser
  • Concurrent form object(with plugin system)
  • Full excel like function support
  • Unit Test
  • Custom Function Supprot

Usage🛠

Install

npm i super-formula -S

Use It

import { Formula } from 'super-formula'

const res = formula.exec('SUM({self.num_26},IF(5>4,SUM(7,8),2), [7, 8])')
console.log(res) // 31

Some Important Things😲

CST ability power by chevrotain.

About

a formula realize, work with form-formula or excel-formula.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published