UNPKG

amogusify

Version:

this package allows you to amogusify any text.

9 lines 272 B
module.exports = class amogus { /** * Amogusify ur text * @param {String} text */ static amogusify(text) { return text.replace(/[^eyioau](?=\s|$)/gi, '$&us'); //what did you think? a lot of code? no, there's only 9 lines lmao } }