@freesewing/core-plugins

中文文档
4.10.2发布于 2026/09/13MITES Module近 30 天下载 1.2万

An umbrella package of essential plugins that are bundled with the FreeSewing core library

原始使用文档
文档目录7 节
  1. Usage
  2. What am I looking at? 🤔
  3. About FreeSewing 💀
  4. Getting started ⚡
  5. Links 👩‍💻
  6. License: MIT 🤓
  7. Where to get help 🤯

@freesewing/core-plugins on NPM License: MIT All Contributors

Follow @freesewing_org on Twitter Chat with us on Discord Become a FreeSewing Patron

@freesewing/core-plugins

An umbrella package of essential plugins that are bundled with the FreeSewing core library

Plugins

  1. plugin-cutonfold : Add cut-on-fold indicators to your patterns
  2. plugin-dimension : Add dimensions to your (paperless) patterns
  3. plugin-grainline : Add grainline indicators to your patterns
  4. plugin-logo : Add a scalebox to your patterns
  5. plugin-scalebox : Add pretty titles to your pattern parts
  6. plugin-title : Add pretty titles to your pattern parts
  7. plugin-round : Rounds corners
  8. plugin-sprinkle : Add multiple snippets to your pattern

Note that these are all build-time plugins. In other words, plugins used by developers/pattern designers, rather than run-time plugins that are used when generating patterns.

Without exception, all freesewing patterns use all these plugins, so it made sense to bundle them.

Usage

To load this plugin, add it to your instantiated pattern.

On node.js:

import freesewing from '@freesewing/core'
import plugins from '@freesewing/plugin-bundle'

let pattern = new freesewing.Pattern().with(plugins);

FreeSewing

[!TIP]

Support FreeSewing: Become a patron, or make a one-time donation 🥰

FreeSewing is an open source project maintained by Joost De Cock and financially supported by the FreeSewing patrons.

If you feel FreeSewing is worthwhile, and you can spend a few coins without hardship, then you should join us and become a patron.

What am I looking at? 🤔

This repository is the FreeSewing monorepo holding all FreeSewing's websites, documentation, designs, plugins, and other NPM packages.

This folder holds: @freesewing/core-plugins

If you're not entirely sure what to do or how to start, type this command:

npm run tips

[!NOTE] If you don't want to set up a dev environment, you can run it in your browser:

Open in Gitpod

We recommend that you fork our repository and then put gitpod.io/#<entire-url-of-your-fork into a browser to start up a browser-based dev environment of your own.

About FreeSewing 💀

Where the world of makers and developers collide, that's where you'll find FreeSewing.

If you're a maker, checkout freesewing.eu where you can generate sewing patterns adapted to your measurements.

If you're a developer, the FreeSewing documentation lives at freesewing.dev. The FreeSewing core library is a batteries-included toolbox for parametric design of sewing patterns. But FreeSewing also provides a range of plugins that further extend the functionality of the platform.

If you have NodeJS installed, you can try it right now by running:

npx @freesewing/studio

Getting started guides are available for:

The pattern design tutorial will show you how to create your first parametric design.

Getting started ⚡

To get started with FreeSewing, you can spin up our development environment with:

npx @freesewing/studio

To work with FreeSewing's monorepo, you'll need NodeJS v20 on your system.
Once you have that, clone (or fork) this repo and run npm run kickstart:

git clone [email protected]:freesewing/freesewing.git
cd freesewing
npm run kickstart

Official channels

Social media

Places the FreeSewing community hangs out

License: MIT 🤓

© Joost De Cock.
See the license file for details.

Where to get help 🤯

For Support, please use the forum.

版本与发布记录

@freesewing/core-plugins 共发布 47 个版本,首次发布于 2023/09/29;过去 12 个月发布了 13 个版本。

版本发布日期距今
4.10.2latest2026/09/132 个月前
4.10.12026/08/162 个月前
4.10.02026/06/194 个月前
4.9.02026/05/255 个月前
4.8.02026/04/206 个月前
4.7.22026/04/117 个月前

其他发布通道:next → 4.0.1-rc.1。

关于 @freesewing/core-plugins 的常见问题

@freesewing/core-plugins 是什么?

An umbrella package of essential plugins that are bundled with the FreeSewing core library

如何安装 @freesewing/core-plugins?

在项目目录运行 npm install @freesewing/core-plugins,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@freesewing/core(4.10.2)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@freesewing/core-plugins 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/freesewing__core-plugins 是否存在。

@freesewing/core-plugins 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@freesewing/core-plugins 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >= 20。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@freesewing/core-plugins 可以商用吗?

@freesewing/core-plugins 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@freesewing/core-plugins 的下载量有多少?

根据 npm 官方下载统计,@freesewing/core-plugins 在 2026/10/16 – 2026/11/14 这 30 天内被下载 11,770 次,日均约 392 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@freesewing/core-plugins 还在维护吗?

最新版本 4.10.2 发布于 2026/09/13(2 个月前);至今共发布 47 个版本,其中过去 12 个月发布了 13 个;首次发布于 2023/09/29。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。