Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 765 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 765 Bytes

swint-builder-svg

Greenkeeper badge SVG sprite builder for Swint

Warning: This is not the final draft yet, so do not use this until its official version is launched

Installation

$ npm install --save swint-builder-svg

Options

  • name : String, default: Project
  • inDir : String, default: path.dirname(require.main.filename)
  • outDir : String, default: path.join(path.dirname(require.main.filename), '../out')
  • walkOption : Object, default: { ext: 'svg' }

Usage

buildSVG({
	name: 'Test',
	inDir: path.join(__dirname, 'svg'),
	outDir: path.join(__dirname, 'out')
}, function() {
	// Build complete
});