2018-07-18 17:00:17 +00:00
< p align = "center" >
< a title = "Go to freesewing.org" href = "https://freesewing.org/" > < img src = "https://freesewing.org/img/logo/black.svg" align = "center" width = "150px" alt = "Freesewing logo" / > < / a >
< / p >
< h4 align = "center" > < em > < a title = "Go to freesewing.org" href = "https://freesewing.org/" > freesewing< / a > < / em >
< br > < sup > a library for made-to-measure sewing patterns< / sup >
< / h4 >
2018-08-13 09:23:08 +02:00
< p align = "center" >
2018-08-13 09:36:14 +02:00
< a href = "https://travis-ci.org/freesewing/freesewing" > < img src = "https://badgen.net/travis/freesewing/freesewing/master" alt = "Travis build" > < / a >
2018-08-13 09:23:08 +02:00
< a href = "https://www.npmjs.com/package/freesewing" > < img src = "https://badgen.net/npm/v/freesewing" alt = "Version" > < / a >
< a href = "https://www.npmjs.com/package/freesewing" > < img src = "https://badgen.net/npm/license/freesewing" alt = "License" > < / a >
2018-08-13 09:36:14 +02:00
< a href = "https://gitter.im/freesewing/freesewing" > < img src = "https://badgen.net/chat/on%20Gitter/cyan" alt = "Chat on Gitter" > < / a >
< a href = "https://freesewing.org/patrons/join" > < img src = "https://badgen.net/become/a%20Patron/FF5B77" alt = "Become a Patron" > < / a >
2018-08-13 09:23:08 +02:00
< / p >
2018-07-06 16:38:43 +02:00
# freesewing
2018-07-09 08:38:58 +00:00
2018-08-13 09:23:08 +02:00
[Freesewing ](https://freesewing.org/ ) is an open source platform for made-to-measure sewing pattern.
This is our core library.
A freesewing plugin to display debug information in your browser console.
## Usage
To load this plugin, add it to your instantiated pattern.
On node.js:
```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` :
```html
< 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 >
```
## Example
This plugin will gather debug info and log it to your browser console:

## Install
To install, run:
```sh
npm install @freesewing/plugin -debug
```
## Build
To build this plugin, run:
```sh
npm run build
```
## License: MIT
2018-07-18 17:00:17 +00:00
2018-08-13 09:23:08 +02:00
See [the license file ](https://github.com/freesewing/plugin-theme/blob/master/LICENSE )
for details.