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

@noxfly/scroll

v1.0.1

Published

force scroll every screen height, either with or without smooth animation

Readme

Scrolling library

current CDN link:

<script src='https://cdn.jsdelivr.net/gh/NoxFly/scroll/scroll.min.js'></script>

NPM

NPM scroll

  • Works without Jquery

  • Works with arrows

  • does not work on phone

Think to enable this option only if user is in computer.

Does not work with Safari yet (window.scrollTo).

other cool library: SVG library

other cool library: Drag & Drop library

Usage

var scroll = new Scroll(elements, transition, wd);
// elements must be a .class
// transition can be either 'smooth' or 'auto' (auto = no transition duration)
// wd is an array of 2 elements :
//  - window
//  - document
// you use this parameter only if you get an error with window and document if you're not passing this parameter
scroll.disableScroll(); // do this like that user cannot scroll normally between each page
// it's not necessary, but it can fix some errors

Something good to know

if user want to reload page while he scrolled, then next scroll (after reloading) will scroll as he's at the top of the document.

To have a better renderer, you can insert following code:

var scroll = new Scroll('.page', 'smooth');
scroll.disableScroll();

scroll.goTo(0); // this will scroll to the top of the document smoothly while he's reloading !

html

You must wrap your <div class="pages"> with a <div> or <section> id="wrapper-page"

<section id="wrapper-pages">
    <div class="pages page-1"></div>
    <div class="pages page-2"></div>
    <div class="pages page-3"></div>
</section>

License

This repo has the GPL-3.0 license. See the LICENSE.txt.