A library for querying and manipulating GraphQL Introspection Query results: find, remove, or clean specific types, fields, arguments, and subscriptions. Current stable version is 2.1.2, published on npm as 'microfiber' (also known as @anvilco/graphql-introspection-tools). Release cadence is irregular. Key differentiator: it powers SpectaQL for schema documentation. Supports Node >=14, ESM-only.
npm install microfiberNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Microfiber instance from introspection results and gets the cleaned schema.
Use ESM imports or upgrade Node to >=14.
Set cleanupSchemaImmediately: false to defer cleanup.
Explicitly pass removeUnusedTypes: false if needed.
Use dynamic import or switch to ESM: import { Microfiber } from 'microfiber'Ensure you use `import { Microfiber } from 'microfiber'` not default import.No dependency data recorded yet.