@freesewing/snapseries
FreeSewing's snapseries package provides data for FreeSewing's snapped percentage options.
It is published on NPM as @freesewing/snapseries
.
The source code for this package is available in our monorepo on Codeberg
under packages/snapseries
.
This package does not provide a default export.
Installation
npm install --save @freesewing/snapseries
Notes
All exports are plain objects with metric
and imperial
properties
that can be used as the snap
property for snapped percentage options.
All measurements are in mm.
Some exports have metric
and imperial
properties that are
arrays of numbers.
These exports and their properties are:
elastics
: Arrays of common elastic widthszippers
: Arrays of common zipper lengths
Other exports have metric
and imperial
properties that are
numbers to allow options to be snapped to multiples of the value.
These exports and properties are:
smallSteps
: Intervals of 1 mm or 1/32 inchsteps
: Intervals of 5 mm or 1/8 inchbigSteps
: Intervals of 10 mm or 1/2 inch
Named Exports
bigSteps
Holds configuration for snapped percentage options in big steps, which is 1cm or 1/2 inch.
import { bigSteps } from '@freesewing/snapseries'
elastics
Holds configuration for snapped percentage options for commons sizes of elastic widths.
import { elastics } from '@freesewing/snapseries'
smallSteps
Holds configuration for snapped percentage options in small steps, which is 5mm or 1/8 inch.
import { smallSteps } from '@freesewing/snapseries'
steps
Holds configuration for snapped percentage options in default steps, which is 1cm or 1/2 inch.
import { bigSteps } from '@freesewing/snapseries'
zippers
Holds configuration for snapped percentage options for commons sizes of zipper widths.
import { zippers } from '@freesewing/snapseries'