
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
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
FAQs
A CommonJS wrapper for Animate.css for use with Browserify
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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.