0.0.12 • Published 10 years ago

broccoli-spritesmith v0.0.12

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

broccoli-spritesmith

this is spritesmit for broccoli plugins

Usage

Example

	var BroccoliSpritesmith = require('broccoli-spritesmith'),
	var spriteTree = BroccoliSpritesmith('test/images');

API

BroccoliSpritesmith(tree, options)

Example options object:

{
    output: 'all',
    outputPath: 'assets',
    spriteName: 'sprites',
    ext: 'png',

    // sprite engine arguments   
    engine: 'auto', // e.g. phantomjs, canvas, ...
    algorithm: 'binary-tree',
    padding: 5
}

output defaults is 'all', can be set 'scss', 'image', 'less', but now only support 'scss' , 'image'

engine, algorithm, padding are spritesmith options

License

MIT © Hysios Hu

0.0.12

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago