whattodraw

1.1.0 • Public • Published

What to draw

Meta information

  • This is the random description generator inspired by https://whattodraw.virink.com
  • Can be used as a real draw suggestion or as a fake string generator
  • All suggestion rights belong to https://whattodraw.virink.com creators
  • Warning: some suggestions could be NSFW. Author is not responsible for this!

Type

CommonJS module for better compatibility

How to use

  • Import whattodraw module:
const whatToDraw = require('whattodraw'); // CommonJS syntax
// or
import whatToDraw from 'whattodraw'; // ES6 module syntax
  • Call whatToDraw() instance:
whatToDraw();
  • This function accept one optional parameter - items (how many suggestions should be returned), e.g.:
whatToDraw(5); // ['suggestion1', ..., 'suggestion5']
  • Parameter could not be NaN type or less than 1

Author

(c) Ilya Soloveychik, 2021

Readme

Keywords

Package Sidebar

Install

npm i whattodraw

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

36.8 kB

Total Files

5

Last publish

Collaborators

  • thesiv95