Skip to content

pstenstrm/stylus-inline-svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylus-inline-svg

Wraps stylus.url() to inline SVG images as UTF8 instead of Base64. All other images are passed to the stylus.url() method.

var
	inlineSVG = require('stylus-inline-svg');

stylus(str)
	.set('filename', __dirname + '/css/test.styl')
	.define('url', inlineSVG({'paths': [__dirname + '/public']}))
	.render(function (err, css) {

	});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •