excel-formula-parser
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

/excel-formula-parser/

    Package Sidebar

    Install

    npm i excel-formula-parser

    Weekly Downloads

    695

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    4.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • psalaets