@nemcss/napi
v0.3.0
Published
Native Node.js bindings for the NemCSS project
Maintainers
Readme
@nemcss/napi
Native Node.js bindings (NAPI) for nemcss. Used internally by @nemcss/vite and @nemcss/postcss. You generally don't need to install this directly.
Exported API
// Extract nemcss utility class names found in a string of content
extractClasses(content: string): string[]
// Generate CSS from a nemcss config file, optionally filtered to a set of used classes
generateCss(configPath: string, usedClasses?: string[]): stringFor more information, see the root README.
