1
0
Fork 0
freesewing/packages/plugin-debug
2019-04-19 17:31:44 +02:00
..
img tada: First commit 2019-04-19 08:21:17 +02:00
src sparkles: Small tweak to notation 2019-04-19 08:21:17 +02:00
tests sparkles: Fixed merge conflict 2019-04-19 08:21:17 +02:00
.editorconfig tada: First commit 2019-04-19 08:21:17 +02:00
.gitignore sparkles: Fixed merge conflict 2019-04-19 08:21:17 +02:00
.npmignore sparkles: Added ability to format message prefix 2019-04-19 08:21:17 +02:00
.travis.yml sparkles: Fixed merge conflict 2019-04-19 08:21:17 +02:00
LICENSE tada: First commit 2019-04-19 08:21:17 +02:00
package.json 🔧 Centrally confifured package and rollup files 2019-04-19 17:31:44 +02:00
README.md sparkles: Fixed merge conflict 2019-04-19 08:21:17 +02:00
rollup.config.js 🔧 Centrally confifured package and rollup files 2019-04-19 17:31:44 +02:00

Freesewing logo

 freesewing
a library for made-to-measure sewing patterns

Travis build Version License Code coverage DeepScan grade Chat on Gitter Become a Patron

plugin-debug

A freesewing plugin to log debug information to the console.

Usage

To load this plugin, add it to your instantiated pattern.

On node.js:

import pattern from '@freesewing/pattern-brian'
import debug from '@freesewing/plugin-debug'

pattern.with(debug);

In the browser, this plugin will register as freesewing.plugins.debug:

<script type="text/javascript" src="https://unpkg.com/freesewing"></script>
<script type="text/javascript" src="https://unpkg.com/@freesewing/plugin-debug"></script>
<script type="text/javascript" src="https://unpkg.com/@freesewing/pattern-brian"></script>

<script>
var pattern = freesewing.patterns.brian
  .with(freesewing.plugins.debug);
</script>

Install

To install, run:

npm install @freesewing/plugin-debug

Build

To build this plugin, run:

npm run build

License: MIT

See the license file for details.