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

drain-js

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drain-js - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

preview-2.gif

2

package.json
{
"name": "drain-js",
"version": "0.2.4",
"version": "0.2.5",
"description": "Makes smooth transitions between two numbers.",

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

@@ -6,3 +6,4 @@ # drain-js

![gif](./preview.gif)
![Preview](./preview-2.gif)
,

@@ -38,2 +39,4 @@ A callback based utility for making fluent number changes.

![Preview](./preview.gif)
### Parameters

@@ -45,5 +48,5 @@

end: Number,
speed?: Number,
onInterval?: Function,
onComplete?: Function,
speed: Number,
onInterval: Function,
onComplete: Function,
});

@@ -62,7 +65,7 @@ ```

| Name | Status | URL |
| ---------------- | ------ | ---------------------------------------------------------- |
| Demo | WIP | - |
| Demo with React | ✔️ | [Link](https://codesandbox.io/s/drain-js-react-demo-crzyu) |
| Demo with Vue | WIP | - |
| Demo with Svelte | WIP | - |
| Name | Status | URL |
| ---------------- | ------ | --------------------------------------------------------------- |
| Demo | ✔️ | [Link](https://codepen.io/aykutkardas/pen/QWMaeqw?editors=1010) |
| Demo with React | ✔️ | [Link](https://codesandbox.io/s/drain-js-react-demo-crzyu) |
| Demo with Vue | WIP | - |
| Demo with Svelte | WIP | - |
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