DEV Community

Cover image for Yumma CSS API is now Yumma CSS Core
Renildo Pereira
Renildo Pereira

Posted on

Yumma CSS API is now Yumma CSS Core

Our @yummacss/api package is being renamed to @yummacss/core.

What is Yumma CSS Core?

For those who are new here, @yummacss/api was a powerful TypeScript library that powers all Yumma CSS projects. Now, @yummacss/core will still be the foundation for our documentation, the Yumma CSS Playground, and the Yumma CSS CLI, just with a new name.

Why the change?

We want our package names to be as clear and intuitive as possible as Yumma CSS continues to grow. As the bedrock and foundation of the Yumma CSS ecosystem, the name "core" better represents this package. It also helps avoid confusion with other types of APIs and makes it clear where the framework's core functionality resides.

Migrating your project

If you're using the API package, the process is pretty straightforward. Just remove the old dependency, install the new one, and update your imports.

npm remove @yummacss/api
npm install @yummacss/core
Enter fullscreen mode Exit fullscreen mode

Usage

The API remains exactly the same, just under a new name:

import { something } from "@yummacss/core";
Enter fullscreen mode Exit fullscreen mode
// Get all utilities
const all = coreUtils();

// Get only background utilities
const backgrounds = backgroundUtils();
Enter fullscreen mode Exit fullscreen mode

Thanks for reading
If you want to stay up to date with the latest Yumma CSS news, follow us on Twitter (X) and GitHub.

Top comments (0)