Skip to content

Commit 304ce27

Browse files
author
Sander Toonen
committed
Update readme
1 parent 3debd5f commit 304ce27

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
1-
JavaScript Expression Evaluator
2-
===============================
1+
Expression Evaluator
2+
==================================
33

44
[![npm](https://img.shields.io/npm/v/expr-eval.svg?maxAge=3600)](https://www.npmjs.com/package/expr-eval)
55
[![CDNJS version](https://img.shields.io/cdnjs/v/expr-eval.svg?maxAge=3600)](https://cdnjs.com/libraries/expr-eval)
66
[![Build Status](https://travis-ci.org/silentmatt/expr-eval.svg?branch=master)](https://travis-ci.org/silentmatt/expr-eval)
77

88
Description
99
-------------------------------------
10-
**This is a fork of expr-eval 2.0.2 with some enhancements, as it appears that package is no longer being maintained. This fork
11-
adds the following enhancements.**
10+
**This is a modern TypeScript port of the expr-eval library, completely rewritten with contemporary build tools and development practices.** Originally based on expr-eval 2.0.2, this version has been restructured with a modular architecture, full TypeScript support, and comprehensive testing using Vitest. The library almost maintains backward compatibility while providing enhanced features and improved maintainability.
11+
12+
This port adds the following enhancements over the original:
13+
14+
### Support for json() function ###
15+
16+
This wil return a json string:
17+
18+
```js
19+
json([1, 2, 3])
20+
```
1221

1322
### Support for undefined ###
1423

0 commit comments

Comments
 (0)