https://github.com/navapbc/navanyms
A simple function for shuffling between Navanyms
https://github.com/navapbc/navanyms
fun nava
Last synced: about 2 months ago
JSON representation
A simple function for shuffling between Navanyms
- Host: GitHub
- URL: https://github.com/navapbc/navanyms
- Owner: navapbc
- License: mit
- Created: 2017-05-25T21:09:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-19T15:45:26.000Z (almost 7 years ago)
- Last Synced: 2025-10-25T02:50:03.634Z (9 months ago)
- Topics: fun, nava
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 54
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Navanyms
People who work at Nava are people first, but for fun sometimes we use a collective noun. Some people have preferences, others like the variety 😊
This is a simple JS function that shuffles through our favorite Navanyms/[Demonyms](https://en.m.wikipedia.org/wiki/Demonym)
## Installation
```
npm install navanyms
```
## Usage
Example HTML:
```html
Meet the Navacados
```
Then in your JS:
```js
import navanyms from 'navanyms';
var nounElement = document.querySelector('.js-navanyms');
navanyms(nounElement);
```
## API
**`navanyms(nounElement, speed)`**
Arguments:
- `nounElement (HTMLElement)`: The HTML element that wraps the Navanym.
- `speed (Number)`: Shuffle speed, in milliseconds. (Default: `2500`)