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

@ep-ny/toddy

v1.0.7

Published

A lightweight, semantic grid framework with fixed gutters, based on Neat (the lightweight, semantic grid framework built with Bourbon)

Readme

Toddy

a fork of Neat (from ThoughtBot) put together by Extended Play

Installation

via npm:

$ npm install @ep-ny/toddy

via Yarn:

$ yarn add @ep-ny/toddy

via Bower:

$ bower install toddy
Importing from npm

How you import after npm install depends on your Sass toolchain:

Webpack (sass-loader) / Vite / other bundlers that read the sass package.json field:

@import "@ep-ny/toddy";

Dart Sass CLI or programmatic API: add node_modules to your load paths and import the full path. From the CLI:

$ sass --load-path=node_modules src/app.scss out.css
@import "@ep-ny/toddy/core/toddy";

In the JS API, pass loadPaths: ['node_modules'] (Dart Sass) or includePaths: ['node_modules'] (legacy node-sass).

Note: node-sass (LibSass) reached end-of-life in 2022 — new projects should use the sass package (Dart Sass) instead.


Dependencies

As this is a fork of Bourbon Neat, ~~it is dependent on Bourbon. Include it in your main stylesheet before including Toddy.~~ Toddy is no longer dependent on Bourbon and can be used easily without it.


Custom Settings

To change how Toddy works out of the box, you can create a .scss file with your settings and import it before Toddy. We'll call this your grid-settings.scss.

Breakpoints

Toddy comes packaged with a series of breakpoints:

Name | Width Range ---- | ----------- small | 0-767px medium-only | 768px-1023px medium-up | 768px- large-only | 1024px-1279px large-up | 1024px- xlarge-only | 1280px-1799px xlarge-up | 1280px- xxlarge-up | 1800px-

Breakpoint bounds can be overridden by defining $width-{breakpointName}-min and $width-{breakpointName}-max variables in your grid-settings.scss file.

Example:

// _grid-settings.scss
// Breakpoint Definitions for Toddy
$width-small-max: 45em;

$width-medium-min: 45.063em;
$width-medium-max: 58em;

$width-large-min: 58.063em;
$width-large-max: 89em;

$width-xlarge-min: 89.063em;
$width-xlarge-max: 120em;

$width-xxlarge-min: 120.063em;

Fixed Gutters

Fixed gutters are enabled by default. To go back to Neat's normal flexible gutters functionality, simply set $fixed-gutter: false; in your grid-settings.scss.

By default, only $fixed-gutter-width is defined, which will apply to all breakpoints without explicity defined gutter sizes. If you wish to change gutter sizes for larger breakpoints (except for small, which defaults to $fixed-gutter-width), do so by setting $fixed-gutter-{breakpointName} in grid-settings.scss.

Example:

// Fixed gutter sizes (only functional if $fixed-gutter is set to true)
$fixed-gutter-width: 1.875rem !global;
$fixed-gutter-medium: 2rem !global;
$fixed-gutter-large: 3rem !global;
$fixed-gutter-xlarge: null !global;
$fixed-gutter-xxlarge: null !global;

Classes

A la Foundation, Toddy comes packaged with classes for you to use when constructing your templates so that not all of your layout has to be written in CSS. Grid size declarations are prefixed with the breakpoint at which they should begin, followed by the number of columns the item should fill. A div element that should be full size on the small breakpoint but half-size on the large breakpoint is written as <div class="small-12 large-6 columns"></div>. Rows of grid items should be nested within .row elements, and grid items should be given the class of .columns after grid size declarations. An example is as follows:

<div class="row">
  <div class="small-12 columns"></div>
  <div class="small-12 medium-6 large-3 xlarge-2 xxlarge-1 columns"></div>
</div>

Neat's contextual span-columns function works, as well. When in the context of an existing grid column, sub-columns can be created as follows:

<div class="row">
  <div class="small-12 medium-6 columns">
    <div class="row">
      <div class="small-12of12 medium-4of6 columns"></div>
      <div class="small-12of12 medium-2of6 columns"></div>
    </div>
  </div>
</div>

You can use Neat's @include shift() function using classes.

<div class="row">
  <div class="small-12 medium-6 medium-offset-6 columns">
    <div class="row">
      <div class="small-12of12 medium-2of6 columns"></div>
      <div class="small-12of12 medium-2of6 medium-offset-2of6 columns"></div>
    </div>
  </div>
</div>

Flexbox

Flexbox grids work just like the aforementioned grid classes. However, instead of wrapping grid items in a div with a class of .row, just give it a class of .flex-row. Replace .columns with .flex-columns. Boom. It works.

<div class="flex-row">
  <div class="small-12 medium-9 large-6 flex-columns"></div>
  <div class="small-12 medium-3 large-6 flex-columns"></div>
</div>