Node.js library for creating and manipulating SVG sprites. Build on top of posthtml.
Work in progress!
- Node.js >= 6 for usage and Node.js >= 7 for development (some tests use async/await).
- yarn.
This project contain multiple packages which managed by Lerna.
- svg-baker - SVG Baker core.
- svg-baker-runtime - SVG Baker JS runtime for working with generated symbols in Node.js/browser environment.
- posthtml-svg-mode - tiny wrapper over posthtml optimized for working with SVG.
- posthtml-rename-id - posthtml plugin to rename id & references.
- posthtml-svg-fill - posthtml plugin to repaint SVG shapes.
Just npm install
or yarn install
.
yarn test
- run mocha in every package.yarn coverage
- collect coverage info.
- Logo: bread icon from bakery icon set by Salinee Pimpakun.