# Stacks Strings Easily manipulate & work with strings. ## โ˜˜๏ธ Features - Easily manipulate strings - Powerful & fast API ## ๐Ÿค– Usage ```bash bun install -d @stacksjs/strings ``` Now, you can use it in your project: ```js import { // pluralize addIrregularRule, addPluralRule, addSingularRule, addUncountableRule, // case camelCase, capitalCase, constantCase, dotCase, headerCase, isAlpha, isAlphanumeric, isAscii, isBase32, isBase64, isBoolean, isByteLength, isCreditCard, isCurrency, isDataURI, isDate, // validation isEmail, isFQDN, isFullWidth, isHalfWidth, isHash, isHexadecimal, isHexColor, isHSL, isIBAN, isIdentityCard, isIP, isIPRange, isISBN, isISIN, isISO8601, isISO31661Alpha2, isISO31661Alpha3, isISRC, isISSN, isJSON, isJWT, isLatitude, isLatLong, isLongitude, isMACAddress, isMimeType, isMobilePhone, isMongoId, isNumeric, isPlural, isPostalCode, isSingular, isStrongPassword, isURL, isUUID, kebabCase, noCase, paramCase, pascalCase, pathCase, plural, sentenceCase, singular, snakeCase, titleCase, validateUsername } from '@stacksjs/strings' console.log(camelCase('hello world')) // => "helloWorld" console.log(plural('dog')) // => "dogs" ``` To view the full documentation, please visit [s](https://stacksjs.com/strings). ## ๐Ÿงช Testing ```bash bun test ``` ## ๐Ÿ“ˆ Changelog Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently. ## ๐Ÿšœ Contributing Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details. ## ๐Ÿ Community For help, discussion about best practices, or any other conversation that would benefit from being searchable: [Discussions on GitHub](https://github.com/stacksjs/stacks/discussions) For casual chit-chat with others using this package: [Join the Stacks Discord Server](https://stacksjs.com/discord) ## ๐Ÿ™๐Ÿผ Credits Many thanks to the following core technologies & people who have contributed to this package: - [change-case](https://www.npmjs.com/package/change-case) - [pluralize](https://www.npmjs.com/package/pluralize) - [validation](https://www.npmjs.com/package/validation) - [Chris Breuer](https://github.com/chrisbbreuer) - [All Contributors](../../contributors) ## ๐Ÿ“„ License The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information. Made with ๐Ÿ’™ `mask(value, character, index, length?)` counts Unicode code points. Index and explicit length must be safe integers, otherwise it throws RangeError. Negative indices count from the end; negative integer lengths mask nothing.