Strings
Description
String helper utilities for Enso UI packages.
Installation
Install the package:
yarn add @enso-ui/strings
Features
- exports casing and slugging helpers used across Enso UI
- covers
camel,snake,slug,pascal,lcfirst,lcwords, anducfirst - includes
diff()for character-level comparisons
Usage
import { camel, lcwords, pascal, slug, snake } from '@enso-ui/strings';
slug('Sales Order');
snake('SalesOrder');
camel('sales order');
API
Depends On
- No additional Enso UI dependencies.
Contributions
are welcome. Pull requests are great, but issues are good too. Thank you to all the people who already contributed to Enso!