1.1.1 • Published 2 years ago

5letterwords v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

5 Letter words

Generate and validate random 5-letter words

Installation:

npm install 5letterwords

Examples:

Generate

import {random}  from '5letterwords';

const newWord = random()
<!-- "zebra" --->

isValid

import {isValid}  from '5letterwords';

const example1 = "epoch"
const example2 = "gafhg"

console.log(isValid(example1))
<!-- true --->

console.log(isValid(example2))
<!-- false --->
1.1.1

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago