
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@khanacademy/math-input
Advanced tools
Khan Academy's new expression editor for the mobile web.
Khan Academy's expression editor for the mobile web. Used in the Perseus exercise framework to power math input and expression editing on small screens.
Built with React, Redux, MathQuill, Aphrodite, and more.
Try it yourself on Khan Academy. (Note: you'll need to enable mobile emulation, if you're accessing the site from a desktop browser.)
git clone git@github.com:Khan/math-input.git
yarn install
yarn start
When you start the project you'll need to be on a device that supports touch or touch emulation to see the keyboard. The easiest way to get started is open the developer tools on Google Chrome.
A live demo is available via GitHub Pages. You can configure some of the keypad's behaviors, along with the set of active keys, via the editor.
Note that, as the input and keypad only respond to touch events, you'll need to enable mobile emulation (e.g., as supported by Chrome) in order to use the keypad in a desktop browser.
To run the demo locally, clone the repo, yarn install
, yarn watch
, and open the index.html
page. The local behaviors can similarly be customized via the editor @ custom.html
.
FAQs
Khan Academy's new expression editor for the mobile web.
The npm package @khanacademy/math-input receives a total of 3,987 weekly downloads. As such, @khanacademy/math-input popularity was classified as popular.
We found that @khanacademy/math-input demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.