Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
automatos
Advanced tools
Readme
A CSS Animation library
Automatos is a small Javascript library for controlling CSS Animations.
Requires Promises
automatos({
el: '.demo',
name: 'fadeIn',
duration: 1000,
});
{
el: DOM node or selector string,
name: string,
duration: integer,
iterations: integer or string,
direction: string,
delay: string,
fillMode: string,
timingFunc: string
}
e.g.
{
el: document.querySelector('.demo'),
name: 'bounce',
duration: 1000,
iterations: 'infinite',
direction: 'reverse',
delay: '1s',
fillMode: 'forwards',
timingFunc: 'ease-in-out'
}
.after
Calls a callback after the specified milliseconds.
e.g.
[...]
.after(100, function () {
console.log('calls after 100ms');
})
.then
Calls a callback when the animation is complete.
e.g.
[...]
.then(function () {
console.log(this.el, 'has finished animating');
});
.play
Sets the play-state to running.
e.g.
[...]
.play()
.pause
Sets the play-state to paused.
e.g.
[...]
.pause()
.stop
Stops the animation and emits the animation stopped event.
e.g.
[...]
.stop()
.promise
A reference to the promise attached to the animation-end event.
e.g.
[...]
.promise.then(function () {
// called when the animation is over
});
// or
var a1 = automatos(//put options here);
var a2 = automatos(//put options here);
Promise.all([a1.promise, a2.promise]).then(function () {
// called when all animations are over
});
FAQs
A CSS Animation controller
The npm package automatos receives a total of 1 weekly downloads. As such, automatos popularity was classified as not popular.
We found that automatos 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.