UNPKG

@fakerjs/word

Version:

Word package provides functionality to generate a fake semi-pronounceable random (nonsense) word value.

38 lines (26 loc) 1.17 kB
<h1 align="center">Word</h1> <p align="center"> Word package provides functionality to generate a fake semi-pronounceable random (nonsense) word value.</p> <p align="center"> <a href="https://github.com/faker-javascript/word/releases"><img alt="Version" src="https://img.shields.io/github/release/faker-javascript/word.svg?label=version&color=green"></a> <img src="https://img.shields.io/npm/dt/@fakerjs/word"> <img alt="node-current" src="https://img.shields.io/node/v/@fakerjs/word"> <a href="https://github.com/faker-javascript/word/actions/workflows/ci.yml"><img src="https://github.com/faker-javascript/word/actions/workflows/ci.yml/badge.svg"></a> <a href="https://github.com/faker-javascript/word"><img src="https://img.shields.io/badge/license-MIT-blue.svg?color=green" alt="License"></a> </p> ## Install ``` $ npm install --save @fakerjs/word ``` ## Usage ```js import word from '@fakerjs/word'; word(); //=> rad word({length: 3}); //=> rad ``` ## Tests Run tests ``` npm run test ``` ## License [The MIT License (MIT)](https://github.com/faker-javascript/word/blob/master/LICENSE.txt) Copyright (c) [Sergey Romanenko](https://github.com/Awilum)