A javascript library which transforms Latex Expression To Sympy Expression
npm install latex-expression-translator
const translateLatex = require('latex-expression-translator')
const sympyExpression = translateLatex('\\frac{\\sqrt{8}}{x}^2') // output: (((sqrt(8))/(x))**2)