plugin-sprinkle

Published as @freesewing/plugin-sprinkle, this plugin provides the sprinkle macro which is a faster way to add several of the same snippets to your designs (think of it as sprinkling them onto your design).

Installation

Shell prompt
npm install @freesewing/plugin-sprinkle

Usage

Either add it as a part plugins in your design, or add it to a pattern instance with Pattern.use().

To import the plugin for use:

Javascript
import { sprinklePlugin } from '@freesewing/plugin-sprinkle'
// or
import { pluginSprinkle } from '@freesewing/plugin-sprinkle'

Notes

The sprinkle plugin is part of our plugin-bundle