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.
vowelz
Advanced tools
Readme
A JavaScript library for efficient manipulation of vowels within strings. Count, transform case, extract positions, and perform various operations on vowels with ease.
foo@foobar-terminal~: npm install --save vowelz
/* node module imports */
const Vowelz = require("vowelz");
/* node module imports */
const Vowelz = require("vowelz");
/* create an instance and use methods... */
const myVowelz = new Vowelz();
console.log("How many vowels are there in the word: ", myVowelz.getTotalCount("hello world"));
getTotalCount(arg: string):
returns the number of vowels that are present in a string value. Takes in one argument which must be a string only.getPositionsOfVowels(arg: string):
returns the index values of the vowels that are present in a string value. Takes in one argument which must be a string only.extractAllVowelsFromString(arg: string):
returns all of the vowels that are present in a string. Takes in one argument which must be a string only.getCountOfUniqueVowels(arg: string):
returns the number of vowels in a string (non repeating). Takes in one argument which must be a string only.removeAllVowelsFromString(arg: string):
removes all vowels in a string and then returns the string. Takes in one argument which must be a string only.setAllVowelsToUppercase(arg: string):
converts all vowels present in a string value to uppercase. Takes in one argument which must be a string only.setAllVowelsToLowerCase(arg: string):
converts all vowels present in a string value to lowercase. Takes in one argument which must be a string only.countAllVowels(arg: string):
provides a count of individual vowels in a string value and returns the result in the form of an object. Takes in one argument which must be a string only.replaceVowelsWithCharacter(arg: string, character: string):
replaces vowels in a string with the given custom character argument. Both arg and character are mandatory. The character argument is to be a single character only.vowelEncryption(arg: string):
method returns a string value with vowels that are convered to encyrpted characters. Takes in one argument which must be a string only.
File | % Stmts | % Branch | % Funcs | % Lines |
---|---|---|---|---|
All files | 83.33 | 94.11 | 100 | 83.09 |
index.js | 83.33 | 94.11 | 100 | 83.09 |
Test Suites: 11 passed, 11 total
Tests: 54 passed, 54 total
Snapshots: 0 total
Time: 4.241 s
Ran all test suites.
Do you have an idea? May be you wish to add another method to this existing library? Or perhaps you've found a bug? Please feel free to raise a github issue and I would resolve it at the earliest possible.
If you like this project, I would really appreciate you placing a star on the github project. This would really help encourage me to become a better developer. Speak to your friends and colleagues about this project too if you can and seek their support. Here is wishing you a nice day and happy coding. Cheers!
FAQs
A JavaScript library for efficient manipulation of vowels within strings. Count, transform case, extract positions, and perform various operations on vowels with ease. Enhance your text processing and string transformations using Vowelz.
The npm package vowelz receives a total of 0 weekly downloads. As such, vowelz popularity was classified as not popular.
We found that vowelz 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.