@freesewing/collection
FreeSewing's collection package bundles all FreeSewing designs as well as information about those designs.
It is published on NPM as @freesewing/collection
.
The source code for this package is available in our monorepo on Codeberg
under packages/collection
.
This package does not provide a default export.
Installation
npm install --save @freesewing/collection
Named Exports
about
Holds on object where the key is the design name and the value is an object holding a bunch of information about a Design.
import { about } from '@freesewing/collection'
collection
Holds an array of design names that are included in the package.
import { collection } from '@freesewing/collection'
designs
An object holding all of our designs. The key is the design name, and the value the design instance.
import { designs } from '@freesewing/collection'
designers
An array holding the various designers,
which we use to filter designs based on the data in the about
export.
import { developers } from '@freesewing/collection'
developers
An array holding the various developers,
which we use to filter designs based on the data in the about
export.
import { developers } from '@freesewing/collection'
i18n
An object holding English translations for all designs in our collection.
import { i18n } from '@freesewing/collection'
measurements
Holds an object where the key is the design name and the value is an array of all the consolidated measurements for that design. By consolidated, we mean the required measurements, plus the optional measurments.
import { measurements } from '@freesewing/collection'
optionalMeasurements
Holds an object where the key is the design name and the value is an array of all the optional measurements for that design.
import { optionalMeasurements } from '@freesewing/collection'
requiredMeasurements
Holds an object where the key is the design name and the value is an array of all the required measurements for that design.
import { requiredMeasurements } from '@freesewing/collection'
tags
An array holding the various tags,
which we use to filter designs based on the data in the about
export.
import { tags } from '@freesewing/collection'
techniques
An array holding the various techniques,
which we use to filter designs based on the data in the about
export.
import { techniques } from '@freesewing/collection'