Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stuk/generate-words

Generate random (English) words.
https://github.com/stuk/generate-words

Last synced: about 2 months ago
JSON representation

Generate random (English) words.

Awesome Lists containing this project

README

        

Generate random words
=====================

It's quite easy to generate random pronounceable (English) words. Just
alternate between vowels and consonants, plus a few extra, such as 'tt' and
'sh'. Here is a simple Javascript implementation.

To run
------

node words.js

or copy and paste in to your favourite Javascript console.

Change `var len = 5;` to get longer words.

Examples
--------

* roxott
* cedej
* duchiy
* gipitt
* rishiv
* togul

From 6 consecutive runs. Not all golden, but enough to start with.

License
-------

Really do what you want. But here's the MIT license to be sure:

Copyright (C) 2011 by Stuart Knightley

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN