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

drawtheline

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drawtheline

Sketch simple line drawing in SVG.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

drawtheline

✏️ Sketch simple line drawings in SVG.

NPM Version

Install

$ npm install drawtheline
<script type="module" src="https://unpkg.com/drawtheline@1.1.0/index.js"></script>
<script>
import {
    inputDownEvent,
    inputUpEvent
} from 'https://unpkg.com/drawtheline@1.1.0/index.js';
</script>

Usage

import { inputDownEvent, inputUpEvent } from 'drawtheline';

const svg = document.querySelector('svg');

svg.addEventListener('mousedown', inputDownEvent);
svg.addEventListener('touchstart', inputDownEvent);

Keywords

drawing

FAQs

Package last updated on 08 Aug 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