Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

evanyou-canvas

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evanyou-canvas - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "evanyou-canvas",
"version": "1.0.1",
"version": "1.0.2",
"main": "dist/evanyou-canvas.umd.js",

@@ -5,0 +5,0 @@ "module": "dist/evanyou-canvas.mjs",

@@ -9,10 +9,6 @@ # evanyou-canvas

import evanyouCanvas from 'evanyou-canvas'
```
import 'evanyou-canvas/dist/evanyou-canvas.css'
```ts
export default function evanyouCanvas(): {
canvas: HTMLCanvasElement
update: () => void
offClick: () => void
}
const { canvas, update, offClick } = evanyouCanvas()
document.body.appendChild(canvas)
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc