A tool to distribute and import Sass files, assets, and JavaScript extensions via npm packages.
Eyeglass is a tool that allows developers to distribute Sass files, assets, and JavaScript extensions as npm packages. It solves the problem of managing and importing Sass dependencies by automatically exposing these packages to Sass's `@import` directive, ensuring correct asset URLs in built applications.
Sass developers and frontend engineers who need to share or consume reusable Sass components, assets, and extensions across projects using npm and modern build systems.
Developers choose Eyeglass because it simplifies Sass dependency management through npm, automates import resolution, and integrates seamlessly with build tools like Broccoli and Ember CLI, enhancing productivity and code reuse.
NPM Modules for Sass
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables Sass files, assets, and JavaScript extensions to be packaged and installed via npm, as stated in the README, leveraging npm's ecosystem for easy sharing and dependency management.
Automatically exposes Sass files to @import directives after installation, eliminating manual path configuration and simplifying dependency resolution, as highlighted in the key features.
Correctly resolves and delivers references to images and assets in built applications, ensuring proper URLs without extra setup, per the README's description of asset handling.
Provides native integration for Broccoli and Ember CLI through dedicated plugins, streamlining setup for these build systems as outlined in the README's package list.
Only offers built-in plugins for Broccoli and Ember CLI; other popular build systems like Webpack require custom configuration, which can be complex and poorly documented.
Relies entirely on npm for distribution, which may not align with projects using alternative package managers or those avoiding Node.js ecosystems, limiting flexibility.
For developers distributing Sass modules, configuring npm packages as Eyeglass modules adds an extra layer of setup, as mentioned in the README, increasing initial complexity.