37Introducing Eyeglass

Eyeglass is a modular dependency-management system that allows you to use some of the thousands of packages available for Sass. These packages mean that you can add functionality to your style sheets, making it simple to manage, install, and discover better libraries that you can use in your Sass code.

For example, if you want to use some timer functions of Eyeglass, you install the eyeglass-timer module into your project. This modular system keeps your projects much cleaner.

Eyeglass is npm-based, which means that any project using npm can easily install Eyeglass. In the example, you can see how to do that. broccoli-eyeglass is the recommended way to use Eyeglass and its modules.

Once broccoli-eyeglass is installed, ...

Get Pragmatic Guide to Sass 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.