1.1.0 • Published 1 year ago

excel-formula-parser v1.1.0

Weekly downloads
47
License
MIT
Repository
github
Last release
1 year ago

excel-formula-parser

Parse excel formula into a tree.

Install

npm install excel-formula-parser -S

or

yarn add excel-formula-parser

Usage

const {parse, visit} = require('excel-formula-parser');

const tree = parse('SUM(1, 2)');

visit(tree, visitor);

API

const {parse, visit} = require('excel-formula-parser');

parse(formula)

Parse a formula into an expression tree.

  • formula: string - Excel formula

Returns: ast node

visit(tree, visitor)

Visit nodes of the tree.

License

MIT

1.1.0

1 year ago

1.0.3

4 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago