@zeecoder/container-query-meta-builder

Meta object builder for Container Queries.

Usage no npm install needed!

<script type="module">
  import zeecoderContainerQueryMetaBuilder from 'https://cdn.skypack.dev/@zeecoder/container-query-meta-builder';
</script>

README

container-query-meta-builder

This module is part of a monorepo.

Goal

This package was created to make the process of extracting container-query metadata from the source CSS easier, and more maintainable.

As such, it's mainly intended to be used by other packages internally, like postcss-container-query, and container-query.

It can potentially be used as a sort of css-in-js (Alongside an existing library you might already use.), in case you don't want to use the postcss plugin or don't have source CSS files to process to begin with.

Usage

The easiest way to understand how it works is by looking at the tests.

License

MIT