/comparative-superlative

returns the comparative or superlative of an adjective

Primary LanguageJavaScriptMIT LicenseMIT

comparative-superlative

get the comparative or superlative of a word

installation

npm install comparative-superlative
// or
yarn add comparative-superlative

usage

const cs = require('comparative-superlative')

// cs returns an object containing both
// the comparative and superlative

cs("important");
// {
//    comparative: "more important"
//    superlative: "most important"  
// }

cs("happy")
// {
//    comparative: "happier"
//    superlative: "happiest"  
// }

💀 init'd with skeletor