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

@jaisocx/css-tool-template

v2.1.4

Published

Two simple html blocks styles with base template and example for responsive styling and color themes. The infrastructure files are here for the webpack, typescript and publications on npm.

Readme

CSS Tool Template

Aim of the setup

Status

What is this

live urls with html examples

https://sandbox.brightday.email/sites_tools/css_tools/CssToolTemplate/index.example.html

in-npm-package urls to index.example.html

index.example.html

html coding example

css in index.example.html coding example

js in index.example.html coding example

ts coding example importing styles | themes styles

ts coding example with import npm lib in 3rd partie's ts code

js interfaces for API Models

package structure

favicon/*.ico site logo to show in browser's tab label above, referenced in index.example.html in <link rel="icon" ... /> tag.

MediaAndStyles/*.css styles where css props are set via css variables. For example font-size: var(--jsx--sitestool--htmlelem--font-size);.

MediaAndStyles/themes styles where the css variables get their values. For example --jsx--sitestool--htmlelem--font-size: 1rem;.

MediaAndStyles/themes/theme_base all css variables from main.css get their values. The responsive fileset is imported in relative and webpack aliased .css imports.

MediaAndStyles/themes/color_themes examples of themes where just the color and background color css variables get their values. May also set border-color and background images, shadows and other color themes relevant css variables if referenced in main.css.

MediaAndStyles/themes/theme_layout_example a theme with responsive fileset produced by SitesToolAutomation. The responsive fileset is relevant mostly for fine tuning sites for mobile portrait, tablet and big displays, since for the layout themes for sure the sizes of the displays are relevant.

src/index.ts styles imports to be accessed later when built with Webpack, and the produced by The Webpack bundle.js is referenced like <script src="bundle.js" in .html.

src/webpack... infrastructure static files for the Webpack.

BuildData.example.json The template of a json config for building a sites tool. You may use to copy paste to BuildData.json for a new sites tool.

index.example.html the sites tool preview, locally and when installed with the new command ./cmd/install_and_view_sites_tool.sh.

package-lock.json npm system file.

package.json the main conf file for this npm package.

README.md documentation file in md format.

webpack.aliases.json the webpack alias' name and the relative path in this npm package folders structure.