9 lines
150 B
JavaScript
9 lines
150 B
JavaScript
|
const math = require("mathjs");
|
||
|
|
||
|
function parseMath(f) {
|
||
|
return JSON.parse(JSON.stringify(math.parse(f)))
|
||
|
};
|
||
|
|
||
|
module.exports = {
|
||
|
parseMath,
|
||
|
};
|