Socket
Socket
Sign inDemoInstall

animate-svg

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

2

package.json
{
"name": "animate-svg",
"version": "0.0.7",
"version": "0.0.8",
"description": "Animate SVG paths & lines",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,3 +17,3 @@ # animate-svg

async foo() {
async function foo() {
// blabla

@@ -27,2 +27,6 @@ const path = document.getElementById('some-svg-path-element')

```
The function `animateSvg` accepts 3 parameters:
- the `SVGPathElement` or `SVGLineElement` to animate
- the **speed** at which the animation should occur (pixels per millisecond)
- (optional) direction of the animation: `true` is for reverse animation, `false` is for normal

@@ -29,0 +33,0 @@ [npm-url]: https://npmjs.org/package/animate-svg

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc