@stacksjs/strings v0.59.11
Stacks Strings
Easily manipulate & work with strings.
โ๏ธ Features
- Easily manipulate strings
- Powerful & fast API
๐ค Usage
bun install -d @stacksjs/strings
Now, you can use it in your project:
import {
// pluralize
addIrregularRule,
addPluralRule,
addSingularRule,
addUncountableRule,
isPlural,
isSingular,
singular,
plural,
// case
camelCase,
capitalCase,
constantCase,
dotCase,
headerCase,
kebabCase,
noCase,
paramCase,
pascalCase,
pathCase,
sentenceCase,
snakeCase,
titleCase,
// validation
isEmail,
isStrongPassword,
isAlphanumeric,
validateUsername,
isURL,
isMobilePhone,
isAlpha,
isPostalCode,
isDate,
isNumeric,
isBoolean,
isHexColor,
isHexadecimal,
isBase64,
isUUID,
isJSON,
isCreditCard,
isISBN,
isIP,
isIPRange,
isMACAddress,
isLatLong,
isLatitude,
isLongitude,
isCurrency,
isDataURI,
isMimeType,
isJWT,
isMongoId,
isAscii,
isBase32,
isByteLength,
isFQDN,
isFullWidth,
isHalfWidth,
isHash,
isHSL,
isIBAN,
isIdentityCard,
isISIN,
isISO8601,
isISRC,
isISSN,
isISO31661Alpha2,
isISO31661Alpha3
} from '@stacksjs/strings'
console.log(camelCase('hello world')) // => "helloWorld"
console.log(plural('dog')) // => "dogs"
To view the full documentation, please visit https://stacksjs.org/strings.
๐งช Testing
bun test
๐ Changelog
Please see our releases page for more information on what has changed recently.
๐ Contributing
Please review the Contributing Guide for details.
๐ Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Stacks Discord Server
๐๐ผ Credits
Many thanks to the following core technologies & people who have contributed to this package:
๐ License
The MIT License (MIT). Please see LICENSE for more information.
Made with ๐
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago