Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vineyardbovines/comparative-superlative

returns the comparative or superlative of an adjective
https://github.com/vineyardbovines/comparative-superlative

language-processing

Last synced: about 1 month ago
JSON representation

returns the comparative or superlative of an adjective

Awesome Lists containing this project

README

        

# 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](https://github.com/gretzky/skeletor)