Internal utility package for UnoCSS bundler integrations, providing shared logic for transforming CSS with @apply directives and variant substitutions. Current stable version: 0.0.12. Released as part of the UnoCSS monorepo; release cadence follows UnoCSS releases. Key differentiator: handles UnoCSS-specific preprocessing like dark mode variants and responsive modifiers in a single function call. Not intended for direct end-user consumption but used by bundler plugins (e.g., Vite, Webpack). Ships TypeScript types.
npm install shared-integrationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and use the transformedCode function to process UnoCSS @apply and variant directives.
Pin exact version and test upgrade with new UnoCSS releases.
Only use if you are contributing to UnoCSS bundler plugins. Do not rely on for production applications.
Refer to UnoCSS monorepo changelog for deprecation notices.
Run `npm install shared-integration` or `yarn add shared-integration` (it is published on npm but may be scoped? Actually scoped as @unocss/shared-integration, but import uses unscoped name? Check package.json exports).
Use `import { transformedCode } from 'shared-integration'` and await the promise.Ensure the CSS string is properly escaped and passed as a string literal.
No dependency data recorded yet.