Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-img2sassb64

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-img2sassb64 - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

package.json
{
"name": "grunt-img2sassb64",
"version": "0.1.0",
"description": "Converts image files to Base64 and saves them as SCSS or SASS variables",
"version": "0.1.1",
"description": "Converts image files to Base64 and saves them as SCSS or SASS variables in a single file",
"homepage": "https://github.com/sarweiler/img2sassb64",

@@ -6,0 +6,0 @@ "repository": "git://github.com/sarweiler/img2sassb64.git",

# img2sassb64
> A grunt task to convert image files to Base64 and save them as SASS variables
> A grunt task to convert image files to Base64 and save them as SCSS or SASS variables in a single file.
If you save the generated file as a partial (e.g. `_icons.scss`) you can easily import the file to your SCSS or SASS file and access the graphics via the variable names.
Variable names will be the file names with '.' replaced by '_'. For example, `icon.png` will be `$icon_png`.
Use this plugin together with a watch to have your graphics processed as soon as you place them in the given directory.
## Getting Started

@@ -80,2 +87,8 @@ This plugin requires Grunt.

## Release History
* 0.1.0 Changed directory input to file input to be more flexible
* 0.0.4 First version
## Contributing

@@ -82,0 +95,0 @@ In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc