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

slush-atom

v0.2.1

Published

Generator to scaffold an atom component in Pattern Lab

Readme

Slush Atom Build Status NPM version

Generator to scaffold an atom and corresponding scss in Pattern Lab

Getting Started

Install slush-atom globally:

$ npm install -g slush-atom

Usage

Create a new atom for your Pattern Lab:

$ slush atom

You will be prompted for several things including the name of your atom. Your answers will dictate how items get scaffolded into Pattern Lab.

Command to see which generators are installed:

$ slush

Uninstall Slush Molecule:

$ sudo npm uninstall slush-atom -g

Configuring your Slush Atom

You can configure filepaths and templates used by adding a slush-atom-config.json file in the same place that you run the slush atom command from. The default configuration is included in this project. Your local configuration will override and merge with that file. See below for an explaination of each value:

{
	"mustacheOutputPath": "the path of the folder with the mustache file in it gets placed",
	"mustacheFile": {
		"slushTemplate": "true if the template to be used is in the slush project, false if you are providing your own in your local project",
		"template": "the path to the template to be used for the mustache file when data file is NOT requested"
	},
	"scssFileOutputPath": "the path of the folder with the scss files in it gets placed",
	"scssNamespaceConnector": "The character(s) to connect the name of the scss file with the name of the breakpoint (e.g. \"-\" for scssFileName-bpName.scss)",
	"scssFiles": [
		{
			"name": "name of the breakpoint",
			"includedFromFile": "the file that this breakpoint file is imported from",
			"scssImportPath": "the path from the importing file to the newly generated file",
			"slushTemplate": "true if the template to be used is in the slush project, false if you are providing your own in your local project",
			"template": "the path to the template to be used for the scss file for this breakpoint",
			"importReplace": "false if the import code should simply be appended, otherwise provide a placeholder that the import code should prepend"
		},{
			"name": "name of the breakpoint",
			"includedFromFile": "the file that this breakpoint file is imported from",
			"scssImportPath": "the path from the importing file to the newly generated file",
			"slushTemplate": "true if the template to be used is in the slush project, false if you are providing your own in your local project",
			"template": "the path to the template to be used for the scss file for this breakpoint",
			"importReplace": "false if the import code should simply be appended, otherwise provide a placeholder that the import code should prepend"
		}
	]
}

Getting To Know Slush

Slush is a tool that uses Gulp for project scaffolding.

Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.

To find out more about Slush, check out the documentation.

Contributing

See the CONTRIBUTING Guidelines

Support

If you have any problem or suggestion please open an issue here.

License

Unlicensed

Copyright (c) 2016, Carlos Picart