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

nucleon-ui

v1.0.6

Published

Styleguide atomized on StoryBook for blogs of weknowinc.com

Readme

Nucleon

Our frontend starter

Inspired by itcss, by @csswizardry

This project is a combination of different standards and guideline.

  1. Atomic design for components
  2. ITCSS for css specificity
  3. BEM for naming convention

Getting Started

Once you have got nucleon into your project, there are a handful of things we need to do before we’re ready to go.

Firstly, we need to identify any files whose name contain the word example. These files are demo and/or scaffolding files that inuitcss requires, but that you are encouraged to create and define yourself.

example.nucloen.scss
example.protons.scss
settings/_theme.example.scss

example.nucloen.scss

This is your main, or manifest, file. This is the backbone of the nucloen project, and it is responsible for @importing all other files. This is the file that we compile out into a corresponding CSS file.

You need to copy this file from the directory that your package manager installed it into, and move it to the root of your css/ directory. Once there, rename it nucleon.scss.

Next, you’ll need to update all of the @imports in that file to point at the new locations of each partial (that will depend on how your project is set up).

Once you’ve done this, you should be able to import this file in your project.

example.protons.scss

This file is a copy fron nucloen but just with the settings and tools levels settings and tools, once your setup the nucleon.scss use the first two parts of the settigns and copy them to theis file.

settings/_theme.example.scss

This is an example themeing file; it contains any settings that are available to your entire project. These variables and settings could be font families, border-radius values, etc.

Copy this file into your own css/settings/ directory and import it in the nucloen.scss file after the core settings. Now you can begin adding your own project-wide settings.

Project structure

This project contains a basic starter of css clases called Nucleon aiming to help the dev team to been consistent and avoid some caviats in browser compatibility.

Nucleon is based in the ITCSS principle of specificity. What's ITCSS Leaving the components layer to handle by the JS framework.

Nucleon

SETTINGS

Core................Framework core variables (dont change variables here use the theme file).
Colors..............Colors that will be available to the project level.
Theme...............Customize all the variables for the project on this file.
Motion..............Project-wide motion and transition settings.
Vendor..............Third party settings.

TOOLS

Font................Mixin which guarantees baseline-friendly line-heights.
Core................Project-wide mixins, allow components access project-wide variables.
Layout..............Mixins for layout composition.
Vendor..............Mixin for third party libraries.

GENERIC

Box-sizing...........Better default box-sizing.
Normalize.css........A level playing field using @necolas’ Normalize.css.
Layout...............General layout normalize.
Reset................A tiny reset to complement Normalize.css.
Shared...............Sensibly and tersely share some global commonalities (particularly useful when managing vertical rhythm).

ELEMENTS

Page.................Set up our document’s default font-size and line-height.
Headings.............Very minimal (i.e. only font-size information) for headings 1 through 6.
Images...............Base image styles.
Tables...............Simple table styles.

OBJECTS

Grid.................Generic layout module (default Foundation XY Grid).
Media................Image- and text-like content side by side. The poster-child of OOCSS.
Flag.................Table-layout-based advancement on the Media object.
List-bare............Lists with no bullets or indents.
Ratio................A container for maintaining aspect ratio of content.
Form.................Provide a common styling for form elemnts.
Table................Classes for manipulating tables.
Dividers.............Divider object.
Tabs.................Common styles for tab components.

UTILITIES

Background Colors....Helper classes that use the palette colors as background color.
Borders..............Helper classes for adding borders to elements
Fonts................Helper classes for font size consistency.
Headings.............Reassigning our heading styles to helper classes.
Print................Reset-like styles taken from the HTML5 Boilerplate.
Spacings.............Nudge bits of the DOM around with these spacing classes.
Text align...........Helper classes to align bits ot text
Text color...........Helper classes that uses the color palette for text color.
Visibility...........Helper classes to hide content