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 🙏

© 2026 – Pkg Stats / Ryan Hefner

gryphonjs

v1.0.2

Published

_animation tool for the web_

Readme

Gryphon JS

animation tool for the web

Overview

Trying to put some cool animations in your website but unwilling to spend hours fiddling with CSS code?

Gryphon JS is a tool that simplifies the process of animating HTML elements.

Step 1: Import our libray

Include the following code in your HTML file to import our library and its dependencies.

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.2/TweenLite.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.2/TimelineLite.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.2/plugins/CSSPlugin.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/gryphon.js"></script>

Step 2: Create your animation

Head over to the Gryphon JS website and play around. It's meant to resemble the interface of a typical video editing software, and should be pretty self explanatory. Whatever animation you create for the box will later be applied to your own website's HTML element.

Step 3: Transfer the animation sequence to your web app

This step assumes you have already gone to the Gryphon JS website. Once you're satisfied with your animation, click the "Export JSON" button. Some text should pop up; this is the key frame info.

Now you have everything you need to animate your website element, with just three lines of JavaScript code.

First, create a variable for the HTML element you are trying to animate. If your HTML element has the 'i-want-animation' id, you would write the following:

var element = document.getElementById('i-want-animation');

Next, create a variable to store the key frame info. Write the following, except subsitute the example key frame info with your own.

var keyFrameInfo = '[{"keyFrameNum":0,"x":0,"y":0,"rotation":0,"opacity":"0","timingFunction":"Linear","timestamp":0},{"keyFrameNum":1,"x":169,"y":72,"rotation":"20","opacity":".5","timingFunction":"Linear","timestamp":606},{"keyFrameNum":2,"x":"-169","y":"-72","rotation":"-20","opacity":1,"timingFunction":"Linear","timestamp":1206.4856643646121}]';

Add this last line of code to your program, and you're done.

Gryphon.animate(element, keyFrameInfo);

Congrats!

Here's an example of some super basic code that uses the Gryphon JS library to make a simple animation.

If you're interested in seeing the source code for the Gryphon JS website, you can find it here.