Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@agape/string
Advanced tools
Readme
String and token manipulation
import {
camelize,
classify,
pluralize,
titalize,
tokenize,
verbalize
} from '@agape/string'
camelize('foo bar') // fooBar
classify('Foo bar') // FooBar
pluralize('foo') // foos
titalize('a foo a bar') // A Foo a Bar
tokenize('Foo bar') // foo-bar
verbalize('foo-bar') // Foo bar
Translate strings between different representations.
camelize
Convert to camel case.
classify
Remove all symbols and spaces, captialize words.
pluralize
Adds an 's' to most words. Words that end in 'y' are changed to 'ies', words that end in 'us' are changed to 'i'.
titalize
The first letter of each word is capitalized with the exception of
a, an, and, at, be, but, by, for, if, in, of, on, the, to
which are only
capitalized if they are the first word in the string, otherwise they
are converted to lowercase.
tokenize
Converted to lower case, word boundaries replaced with dashes.
verbalize
First character capitalized, word boundaries replaced with spaces.
Maverik Minett maverik.minett@gmail.com
© 2020-2021 Maverik Minett
MIT
FAQs
String and token manipulation
The npm package @agape/string receives a total of 10 weekly downloads. As such, @agape/string popularity was classified as not popular.
We found that @agape/string demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.