Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
A CommonJS utility for Animate.css for use with Browserify.
npm install animatify --save
var animate = require('animatify');
var element = document.querySelector('h1');
animate(element, 'bounceInUp', function () {
animate(element, 'pulse');
});
Configure "dependencies"
and "scripts"
in your package.json:
"dependencies": {
"animatify": "*",
"animate.css": "*"
},
"scripts": {
"build:css": "cp node_modules/animate.css/animate.css public/",
"build:js": "browserify -o public/bundle.js .",
"build": "npm run build:css && npm run build:js"
}
animate(element, animation[, opts][, callback])
: Animates an element with
the named animation and invokes the callback when done.
element
: A DOM element.animation
: The name of one of the Animate.css animations.opts
: An object with any of these properties (defaults apply as defined
by animate.css):
delay
: A delay, e.g. '1s'.duration
: A duration, e.g. '1.5s'.iterationCount
: The number of iterations.callback
: A function that will be invoked once the animation finished.animate.disable()
: Disables animations and always invokes the callback
immidiately. Useful for test runs or to allow disabling animations in your
app.$ npm install
$ npm test
$ open test/test.html
MIT
1.0.2
FAQs
A CommonJS wrapper for Animate.css for use with Browserify
The npm package animatify receives a total of 0 weekly downloads. As such, animatify popularity was classified as not popular.
We found that animatify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.