1
0
Fork 0

fix(docs): Updates and corrections for FreeSewing in different environments

This commit is contained in:
Benjamin F 2023-01-06 17:51:53 -08:00
parent 4fee5afa6e
commit 13a90365f6
3 changed files with 18 additions and 14 deletions

View file

@ -1,22 +1,23 @@
---
title: FreeSewing in NodeJS
title: FreeSewing in Node.js
---
These instructions explain how you can generate patterns in NodeJS.
These instructions explain how you can generate patterns in Node.js.
Whether it's in a backend application or on the command line, all
it takes is a few lines of code — and a couple of dependencies — to
generate a pattern.
<Tip>
##### Use FreeSewing.org if you just want a pattern
##### Use freesewing.org if you just want a pattern
These instructions are intended for people who want to generate
their own patterns. If you _just want a sewing pattern_ you can
get all our designs on [FreeSewing.org](https://FreeSewing.org/),
their own patterns using FreeSewing packages.
If you _just want a sewing pattern created for you,_
you can get all our designs on [freesewing.org](https://freesewing.org/),
our website for makers.
</Tip>
</Tip>
## High level overview
@ -40,7 +41,7 @@ import theme from '@freesewing/plugin-theme' // SVG theme
const svg = new Aaron( // Instantiate pattern
{ // Pass in settings. See reference > core > settings
sa: 10, // Seam allowance
// ...
// ...
measurements: { // Pass in measurements
biceps: 387,
chest: 1105,
@ -75,7 +76,7 @@ console.log(svg)
## Dependencies
The code above will only work if you've got the required dependencies installed on your system.
Obviously you need NodeJS, but you will also need the following packages:
Obviously you need Node.js, but you will also need the following packages:
- `@freesewing/core`: Our core library
- `@freesewing/plugin-bundle`: Set of common plugins