terrible-word-search

1.0.1 • Public • Published

terrible-word-search

Generate terrible word searches.

Install

npm install terrible-word-search

Usage

generateWordSearch

import { generateTerribleWordSearch } from 'terrible-word-search';

generateTerribleWordSearch({
  word: 'kayak',
  size: {
    width: 10,
    height: 10
  }
}, 7500);

Parameters:

  • options: WordSearchGenerationOptions:
    • word: string: The word to generate the word search around.
    • size: WordSearchSize:
      • width: number: The width of the word search.
      • height: number: The hight of the word search.
  • maxAttempts: number: The maximum number of attemps to generate a valid word search.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i terrible-word-search

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    20.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • hparcells