API

In addition to CLI and Webpack options, Hacss offers a simple API for advanced use cases.

const hacss = require("@hacss/core");

hacss(code, [config])

Generates a style sheet from the specified code.

Hacss
Overview Getting Started Guides Basement GitHub