contains-vowels
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

contains-vowels

  • Simple NPM Package to check if string contains vowels
  • See examples below

Install via NPM

$ npm i contains-vowels

Usage

  • Returns a Boolean indicating whether string contains vowels.
const containsVowels = require('contains-vowels');

const textWithVowels = 'Test string here!';

if (containsVowels(textWithVowels)) {
    console.log('Text contains one or more vowels!');
}

Readme

Keywords

none

Package Sidebar

Install

npm i contains-vowels

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

39.2 kB

Total Files

8

Last publish

Collaborators

  • tutyamxx