README
expressionTS 
A library written in TypeScript for parsing and interpreting expressions.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Installing
npm install --save expressionTS
Usage
const context = {
x: 10,
foo: { bar: 6 },
double: (value: number) => value * 2
};
const parser = new Parser();
const result = parser.parse('double(x * foo.bar)');
console.log(result.expression(context)); // Logs 120.
Installing Dependencies
Installing the dependencies is done using a standard npm i.
Running the Tests
npm test
Building the project
npm run build
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Tom Wolfe - Initial work - trwolfe13
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE file for details