This document outlines naming helpers available.
Import the helper from the library:
import { NamingHelper } from "@supernovaio/export-helpers";
And use any static method available on the helper object NamingHelper
.
Converts a string to a CSS variable reference
Converts a string to a CSS variable declaration
Converts a string to a code safe variable name. You can select various options how name should be generated
Converts a token name to a code safe variable name. You can select various options how name should be generated