
This is a flat (without history) import of (some of) the content from our markdown module. We've imported this without history because the repo contains our blog posts and showcases posts content prior to porting them to strapi. Since this contains many images, it would balloon the size of this repo to import the full history. Instead, please refer to the history of the (archived) markdown repo at: https://github.com/freesewing/markdown
864 B
864 B
title | for | icons | about | ||
---|---|---|---|---|---|
Core API | developers |
|
FreeSewing's core API reference documents all available methods and objects |
import freesewing from '@freesewing/core'
The @freesewing/core
default export is a single object with the following properties:
version
: A string containing the FreeSewing version numberDesign()
: A super-constructor to create new pattern designs.Pattern()
: ThePattern
constructorPoint()
: ThePoint
constructorPath()
: ThePath
constructorSnippet()
: TheSnippet
constructorutils
: A collection of utilitiespatterns
: FIXME: Explain use-caseplugins
: FIXME: Explain use-case
You will typically only use the Design()
super-constructor.
The other constructors and utilities are exported to facilitate unit testing.