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

generator-inuit

v0.6.5

Published

A Yeoman generator for Harry Robert's inuit.css framework with SMACSS and grunt support

Downloads

14

Readme

generator-inuit

A Yeoman generator for Harry Robert's inuit css framework.

NOTE: Requires Sass 3.3

Getting Started

Installing and running the inuit generator

To install generator-inuit from npm, run:

npm install -g generator-inuit

Then, from your projects directory, initiate the generator:

yo inuit

Helpful articles from CSS Wizardry

Below are 3 of the most helpful references to understanding Inuit and OOCSS concepts.

MindBEMding – getting your head ’round BEM syntax

The open/closed principle applied to CSS

The single responsibility principle applied to CSS

Features

Inuit Objects & Abstractions

Choose which inuit objects/abstractions you want to use in your project.

To skip this step, simply press enter as these can be configured manually once your project has been generated via the _vars.scss file.

SMACSS support

Jonathan Snook's SMACSS guide helps organise your site's CSS into flexible, maintainable chunks.

Files created are;

  • 1-base.scss
  • 2-layout.scss
  • 3-states.scss
  • 4-theme.scss

These files are placed in the css/src directory and automatically imported into css/style.scss.

Two more directories are added place your Sass partials into;

  • css/src/modules
  • css/src/plugins

For more info on SMACSS, visit SMACSS website.

Grunt support

Grunt helps automate your workflow.

####Tasks

Development

grunt serve
  • activates livereload
  • opens site in browser (http://localhost:9000)
  • watches files for changes
grunt watch
  • watches for changes on all html files and assets (sass & js)

Production

grunt build
  • Generates minified site stylesheet
  • Optimises images
  • Concatinates and minifies js
  • Places all build assets (css, js & imgs) in dist directory
  • Copies all other build files (.ico, html & web fonts) to dist directory

There are way more things you can do with grunt like Responsive Images, HTML Partials, Compass, and loads more, so feel free to add more to your gruntfile and package.json.

NOTE: Saying no to grunt option will generate a basic watch file to watch for Sass changes via the command line

Sass module sub-generator

yo inuit:sassmod "module-name"

How it works

  • Creates partial sass file in css/src/modules/_[module-name].scss
  • Adds @import "src/modules/[module-name]"; into style.scss

Note: you will be prompted by the sub-generator to overwrite style.scss with the new changes. Please choose yes and then enter.

Yeoman Info

What is Yeoman?

Yeoman is more than just a tool. It's a workflow; a collection of tools and best practices working in harmony to make developing for the web even better.

Find out more at yeoman.io

License

MIT License

Changelog

v0.6.5 - Found dependency in quotes sass module using !global (Sass 3.3)

v0.6.4 - Fixed error in gruntfile

v0.6.3 - Added missing grunt tasks to grunt build

v0.6.0 - Restructured scaffolding to separate files into app and dist. Added additional grunt tasks (autoprefixer, cssmin and rigger)

v0.5.2 - Fixed livereload issue and upgraded imagemin grunt package

v0.5.0 - Create partial sass files with sub-generator

v0.4.0 - Activate inuit modules

v0.3.0 - Grunt option/support

v0.2.0 - SMACSS option/support

v0.1.0 - Basic bowser install of inuit.css

Thank yous

Two people deserve a mention for helping me get a couple of the features done in one way or another.

  1. Ritchie Anesco for helping out with the inuit objects & abstrations feature

  2. Remy Bach for this article which enabled me to write content to the _vars.scss and style.scss files via a simple 'find hook and replace' solution.