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

@sarap422/lib-scrollin

v1.0.0

Published

Scroll-Triggered Animation Library (jQuery)

Downloads

165

Readme

Scrollin

スクロール連動ふわっとフェードインライブラリ(要jQuary)

  • class="scroll-~": 付与だけのアニメーション処理。
  • delayed-0~6: 開始遅延クラス(delay)
  • fasted-1~3, slowed-1~120:アニメーション速度クラス(duration)
  • Intersection Observer化(scrollTopでなく交差点基準による、Load時はコンテンツが表示されない問題の排除、及びJS処理の軽減化)。
  • 現状要jQuary。
  • 調整用のクラス(delayed, fasted, slowed)のセレクタまとめ用に一部SCSS使用。

必要ファイル

scrollin.js    (JavaScript)
scrollin.scss  (SCSS)または scrollin.min.css(コンパイル済みCSS)

基本的な使い方

1. CDN

<link rel="stylesheet" href="https://unpkg.com/@sarap422/[email protected]/scrollin.min.css">
<script src="https://unpkg.com/@sarap422/[email protected]/scrollin.min.js"></script>

2. HTML に scroll-エフェクト名 クラスを付与

<strong class="scroll-fadeInBottom">
  <span>ふわっと下から表示されます</span>
</strong>

これだけで、要素がスクロールで画面内に入ると自動的にアニメーションが実行されます。

CSS タイミング修飾クラス

is-scloaded クラスと組み合わせて使用するタイミング制御クラスです。 通常は自動付与されますが、独自のスタイルで利用する場合に参照してください。

ディレイ(delayed)

| クラス | 遅延時間 | |--------|----------| | delayed-0 | 0s | | delayed-1 | 0.25s | | delayed-2 | 0.5s | | delayed-3 | 0.75s | | delayed-4 | 1s | | delayed-5 | 1.25s | | delayed-6 | 1.5s |

高速化(fasted)

| クラス | 再生時間 | |--------|----------| | fasted-1 | 0.75s | | fasted-2 | 0.5s | | fasted-3 | 0.25s |

低速化(slowed)

| クラス | 再生時間 | |--------|----------| | slowed-1 | 1.5s | | slowed-2 | 2s | | slowed-3 | 3s | | slowed-4 | 4s | | slowed-5 | 5s | | slowed-10 | 10s | | slowed-20 | 20s | | slowed-30 | 30s | | slowed-60 | 60s | | slowed-90 | 90s | | slowed-120 | 120s |

対応ブラウザ

IntersectionObserver API に対応したモダンブラウザで動作します。

  • Chrome 51+
  • Firefox 55+
  • Safari 12.1+
  • Edge 15+