word-cookie
v1.0.3
Published
This software generates all valid words of different lengths for given set of letters
Downloads
3
Maintainers
Readme
About
This software generates all valid words of different lengths for given set of letters. Developed in the interest of generating solutions for the famous word-cookie game.
Getting Started
Install
npm install word-cookie
Use
var wrdCookieSolver = require('word-cookie');
wrdCookieSolver.generateValidWords("tpnri", function(validWords){
console.log(validWords);
});
Sample output
[ 'inr',
'rip',
'pin',
'nip',
'prn',
'tin',
'nit',
'tip',
'pit',
'tpn',
'nipr',
'nrti',
'trip',
'pint',
'print' ]