UNPKG

sikits

Version:

A powerful and comprehensive utility library for JavaScript and TypeScript with 100+ functions for strings, numbers, arrays, and objects

6 lines (5 loc) 210 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.countVowels = void 0; const countVowels = (str) => (str.match(/[aeiou]/gi) || []).length; exports.countVowels = countVowels;