New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

desmos

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

desmos

Desmos is the dead-simple way to embed rich, interactive math into your web page or web app.

latest
npmnpm
Version
1.5.4
Version published
Maintainers
1
Created
Source

Desmos

Desmos is the dead-simple way to embed rich, interactive math into your web page or web app.

Installation and usage

The easiest way to use desmos is to install it from npm and build it into your app with Webpack.

npm install desmos --save

Then use it in your app:

import Desmos from 'desmos'

const elt = document.createElement('div')
elt.style.width = '600px'
elt.style.height = '400px'

const calculator = Desmos.GraphingCalculator(elt)
calculator.setExpression({ id: 'graph1', latex: 'y=x^2' })

document.body.prepend(elt)

desmos-example-1

Demo

https://www.desmos.com/calculator

Docs

https://www.desmos.com/api/v1.5/docs/index.html

Keywords

desmos

FAQs

Package last updated on 28 Nov 2020

Did you know?

Socket

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.

Install

Related posts