Strings

April 21, 2026 ยท View on GitHub

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

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, and ucfirst
  • 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!

License

MIT