@khanacademy/kas 0.3.8 → 0.3.10
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.
- package/README.md +9 -14
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
===
|
|
1
|
+
# @khanacademy/kas
|
|
3
2
|
|
|
4
3
|
A lightweight JavaScript CAS (Computer Algebra System) for comparing expressions and equations.
|
|
5
4
|
It is used throughout [Khan Academy](https://khanacademy.org)'s interactive exercises.
|
|
6
5
|
|
|
7
|
-
What can it do?
|
|
8
|
-
---------------
|
|
6
|
+
## What can it do?
|
|
9
7
|
|
|
10
8
|
It can parse plain text math, LaTeX, or a mix of both:
|
|
11
9
|
|
|
@@ -77,18 +75,15 @@ expr.simplify().print();
|
|
|
77
75
|
// "(-1+3*p)^(-1)*(3*n+-1*m+2*p)"
|
|
78
76
|
```
|
|
79
77
|
|
|
80
|
-
How to build the library
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
npm run build
|
|
78
|
+
## How to build the library
|
|
79
|
+
yarn
|
|
80
|
+
yarn build
|
|
84
81
|
|
|
85
|
-
How to build the parser
|
|
86
|
-
-----------------------
|
|
82
|
+
## How to build the parser
|
|
87
83
|
First, make any changes in `src/parser-generator.js`
|
|
88
84
|
|
|
89
|
-
|
|
90
|
-
|
|
85
|
+
yarn
|
|
86
|
+
yarn build:parser
|
|
91
87
|
|
|
92
|
-
License
|
|
93
|
-
-------
|
|
88
|
+
## License
|
|
94
89
|
[MIT License](http://opensource.org/licenses/MIT)
|
package/dist/es/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import _ from 'underscore';
|
|
|
3
3
|
|
|
4
4
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
5
5
|
const libName = "@khanacademy/kas";
|
|
6
|
-
const libVersion = "0.3.
|
|
6
|
+
const libVersion = "0.3.10";
|
|
7
7
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
8
8
|
|
|
9
9
|
// this is a @generated file
|