@cloudpss/expression 0.6.14 → 0.6.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,3 +1,12 @@
1
1
  # @cloudpss/expression
2
2
 
3
- Expression system used in CloudPSS args, pins, returns, and errors.
3
+ Expression engine for evaluating CloudPSS formulas and scripts.
4
+
5
+ ## Example
6
+
7
+ ```ts
8
+ import { Evaluator, Expression } from '@cloudpss/expression';
9
+
10
+ const evaluator = new Evaluator();
11
+ const value = evaluator.evaluate(Expression('1 + 2 * 3'));
12
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudpss/expression",
3
- "version": "0.6.14",
3
+ "version": "0.6.16",
4
4
  "author": "CloudPSS",
5
5
  "license": "MIT",
6
6
  "type": "module",