Published: 2025-11-01

Introducing Fabric

Fabric is a new library from the Kubb ecosystem that focuses on easily creating files.

While Kubb popularized the idea of “code generation as a workflow,” Fabric focuses on making file creation effortless:

  • The core of Fabric orchestrates file generation, combining multiple files into one, managing files (with a queue), and intelligently merging or deduplicating imports and exports.
  • Extensible through custom plugins and parsers, with built-in support for TypeScript, JavaScript, and JSX/TSX.
  • Transform and write files to the filesystem seamlessly using the fsPlugin.
  • Use React to define files through JSX components, offering a declarative and composable approach to file generation.

tsx

``…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help