The package has one function. The function gets string and print to console the number of vowels and consonants also print the length of the string. After all, the function returns an array with numbers that were printed. Using in your script: const someVar = require("@nikita_npm/awesome_string_parsing"); someVar.string_parsing('string_parsing'); /////output//////////// Number of vowels in string: 3 Number of consonants in string: 11 String length: 14 [ 3, 11, 14 ]
nikita3a / awesome_string_parsing Goto Github PK
View Code? Open in Web Editor NEWThe package has one function. The function gets string and print to console the number of vowels and consonants also print the length of the string. After all, the function returns an array with numbers that were printed.