Anagram Finder is a module for finding anagrams. See wiki page for more details.
npm install anagram-finder
var anagramFinder = require('anagram-finder'),
keywords = ['hi', 'hello', 'bye', 'helol', 'abc', 'cab', 'bac', 5, {}, []];
anagramFinder.find(keywords);
/*
[ [ 'hi' ],
[ 'hello', 'helol' ],
[ 'bye' ],
[ 'abc', 'cab', 'bac' ] ]
*/
Licensed under The MIT License (MIT)
For the full copyright and license information, please view the LICENSE.txt file.