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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@lassehaslev/banner-kickstarter

v0.3.0

Published

Kickstarter for creating awesome banners lightning fast

Downloads

22

Readme

@lassehaslev/banner-kickstarter

Warning! Dont use yet - (Not production ready)

Helper package for quickly create banners

Whats included

  • JS bundler
  • Sass complier with file inliner
    • Inline images
    • Inline fonts with subsetting
  • Automatic minification of script and style files
  • Work live in your browser
    • Test banners on external devices on same network (mobile, tablet and desktop)
    • Refreshes page on save (Updates all browser that visits the site, including external devices)

Install

# Get the template file
npm install @lassehaslev/banner-kickstarter --save-dev

# Setup template
./node_modules/.bin/banner-serve init

# Run npm install again to include dependencies of template
npm install

Usage

# Start server
npm run dev # alias for ./node_modules/.bin/banner-serve
# See external url in your terminal for testing on your devices
# Just write the url in your device browser

#! Note !#
# You may have to refresh your browser once first time you run dev

# Minify banners for production
npm run build # alias for ./node_modules/.bin/banner-serve production

Javscript files

we use webpack to bundle you packages. You dont have to use it, but you can. The js files are also es6 compatible and will be compiled to vanilla js on production.

Remember to include sass file in .js if you want to compile sass.

The javascript file is compiled to dist/build.css.

// include style
require( './Style/main.scss' );

Sass files

We use sass to compile css files to use in your banners. We have created some sass sugar for inlining your content. Remember to include sass file in .js file to compile sass.

The style file is compiled to dist/style.css.

@font-face {
    font-family: 'MyFont';
    src: inline-font( 'path/to/your/font.ttf' ); // Include full font
    // src: inline-font( 'path/to/your/font.ttf', '[0-9]' ); // Add regex to subset font
}
body {
    background-image: inline-image( 'path/to/your/image.png' );
}