0.2.0 ā¢ Published 5 years ago
comparative-superlative v0.2.0
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