[RFC]: Add @stdlib/string/base/stickycase
#852
Labels
difficulty: 2
May require some initial design or R&D, but should be straightforward to resolve and/or implement.
Feature
Issue or pull request for adding a new feature.
Good First Issue
A good first issue for new contributors!
JavaScript
Issue involves or relates to JavaScript.
Needs Discussion
Needs further discussion.
priority: Low
Low priority concern or feature request.
RFC
Request for comments. Feature requests and proposed changes.
Utilities
Issue or pull request concerning general utilities.
Description
This RFC proposes adding support for converting a string to "sticky caps" case (also known as "studly case" or sponge case), where capitalization is random.
E.g.,
Package:
@stdlib/string/base/stickycase
Alias:
stickycase
Related Issues
None.
Questions
@stdlib/random/base/bernoulli
. We could consider supporting ap
(probability) parameter in which randomness of capitalization is controlled by a specified probability.spongecase
?)Other
See
@stdlib/string/base/constantcase
for a similar package.Checklist
RFC:
.The text was updated successfully, but these errors were encountered: