Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/superb
Get superb like words
https://github.com/sindresorhus/superb
Last synced: 5 days ago
JSON representation
Get superb like words
- Host: GitHub
- URL: https://github.com/sindresorhus/superb
- Owner: sindresorhus
- License: mit
- Created: 2014-07-08T12:22:21.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T17:27:24.000Z (8 months ago)
- Last Synced: 2024-12-03T20:25:55.593Z (9 days ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 394
- Watchers: 10
- Forks: 59
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome-nodejs-cn - superb - 获取表达 “极好的” 意思的词汇 (包 / 怪诞的)
- awesome-nodejs-cn - superb - **star:394** 获得一流的喜欢的话 (包 / 奇怪的)
- awesome-nodejs - superb - Get superb like words. (Packages / Weird)
- awesome-nodejs - superb - Get superb like words - ★ 303 (Weird)
- awesome-node - superb - Get superb like words. (Packages / Weird)
README
# superb
> Get superb like words
Currently ~100 words. **I'm not accepting more words.**
The word list itself is just a [JSON file](superb-words.json) and can be used anywhere.
## Install
```sh
npm install superb
```## Usage
```js
import superbWords from 'superb';superbWords;
//=> ['ace', 'amazing', …]
```## API
### superbWords
Type: `string[]`
All the words in alphabetical order.
### randomSuperbWord()
Type: `Function`
Get a random word.
```js
import {randomSuperbWord} from 'superb';randomSuperbWord();
//=> 'legendary'randomSuperbWord();
//=> 'awesome'
```## Related
- [superb-cli](https://github.com/sindresorhus/superb-cli) - CLI for this module
- [cat-names](https://github.com/sindresorhus/cat-names) - Get popular cat names
- [dog-names](https://github.com/sindresorhus/dog-names) - Get popular dog names
- [pokemon](https://github.com/sindresorhus/pokemon) - Get Pokémon names
- [superheroes](https://github.com/sindresorhus/superheroes) - Get superhero names
- [supervillains](https://github.com/sindresorhus/supervillains) - Get supervillain names
- [yes-no-words](https://github.com/sindresorhus/yes-no-words) - Get yes/no like words