Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vineyardbovines/comparative-superlative
- Owner: vineyardbovines
- License: mit
- Created: 2018-10-25T01:14:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:43:34.000Z (about 1 year ago)
- Last Synced: 2024-10-15T09:29:52.911Z (2 months ago)
- Topics: language-processing
- Language: JavaScript
- Size: 9.77 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 superlativecs("important");
// {
// comparative: "more important"
// superlative: "most important"
// }cs("happy")
// {
// comparative: "happier"
// superlative: "happiest"
// }
```---
💀 init'd with [skeletor](https://github.com/gretzky/skeletor)