npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

constancydeiled889js

v2.5.0

Published

ConstancyJS is a JavaScript library designed to facilitate the creation of smooth and consistent animations with uniform velocity. It provides an easy-to-use interface for incorporating constant motion effects into your web applications.

Downloads

2

Readme

Description

This repository contains JavaScript code for creating various animations on an HTML element. The animations include linear movement, ease-in, ease-out, ease-in-out transitions, color randomization, scaling, rotation, random movement, fading in, and fading out effects.

Animation Functions

  • Linear Animation: Moves the element horizontally from the starting position to the ending position at a constant speed.
  • Ease-In Animation: Applies a smooth acceleration effect to the animation, starting slowly and gradually increasing in speed.
  • Ease-Out Animation: Applies a smooth deceleration effect to the animation, starting at a constant speed and gradually slowing down.
  • Ease-In-Out Animation: Combines the ease-in and ease-out effects, starting slowly, accelerating in the middle, and slowing down again at the end.
  • Color Randomization: Randomly changes the background color of the element every second.
  • Scaling: Scales the element randomly between 1 and 1.5 every two seconds.
  • Rotation: Rotates the element randomly between 0 and 360 degrees every 1.5 seconds.
  • Random Movement: Moves the element to a random position within the window every three seconds.
  • Fading In: Fades the element in by gradually increasing its opacity every second.
  • Fading Out: Fades the element out by gradually decreasing its opacity every two seconds.

Usage

Simply include the provided JavaScript code in your project and ensure that the targeted HTML element has the appropriate ID ('animatedElement' in this case). You can customize the animations by modifying the parameters and adding or removing animation functions as needed.

Contributors

No contributors yet.

Issues

No known issues.

License

This project is licensed under the MIT License - see the LICENSE file for details.