Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/plxity/and-game
https://www.npmjs.com/package/its-and-game
https://github.com/plxity/and-game
and-game javascript npm npm-package
Last synced: 2 months ago
JSON representation
https://www.npmjs.com/package/its-and-game
- Host: GitHub
- URL: https://github.com/plxity/and-game
- Owner: plxity
- Created: 2021-09-20T18:41:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-21T16:22:33.000Z (over 3 years ago)
- Last Synced: 2024-10-19T22:14:06.131Z (4 months ago)
- Topics: and-game, javascript, npm, npm-package
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## and-game
```JS
// Input
andGame(['idli', 'sambhar', 'chutney']);// Output
idli, sambhar and chutney.// Input - with second paramter true which will use '&' instead of 'and'
andGame(['idli', 'sambhar', 'chutney'], true);// Output
idli, sambhar & chutney.```
## Parameters
1. Array of elements.
2. Boolean value if you wanna use '&' instead of 'and'. By default it is set to false.