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

countup.js

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

countup.js - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

9

countUp.js
/*
countUp.js
by @inorganik
by @hamedb89

@@ -15,4 +15,3 @@ */

function countUp(target, startVal, endVal, decimals, duration, options) {
module.exports = function(target, startVal, endVal, decimals, duration, options) {
// make sure requestAnimationFrame and cancelAnimationFrame are defined

@@ -181,6 +180,4 @@ // polyfill for browsers without native support

self.printValue(self.startVal);
}
};
exports.countUp = countUp;
// Example:

@@ -187,0 +184,0 @@ // var numAnim = new countUp("SomeElementYouWantToAnimate", 0, 99.99, 2, 2.5);

@@ -5,3 +5,3 @@ {

"description": "",
"version": "0.1.0",
"version": "0.1.1",
"repository": {

@@ -8,0 +8,0 @@ "url": "https://github.com/hamedb89/countUp.js"

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