anagramica
Anagramica API wrapper.
Example
var anagramica = require('anagramica');
anagramica.all('bread', function(error, response) {
if (error) {
throw error;
}
console.log(response);
});
Installation
$ npm install anagramica
API
var anagramica = require('anagramica');
anagramica.best(letters, callback)
Given an Array or String of letters
, queries Anagramica for the best case
anagram. Calls callback(error, response)
.
anagramica.all(letters, callback)
Given an Array or String of letters
, queries Anagramica for every possible
anagram. Calls callback(error, response)
.
anagramica.lookup(word, callback)
Queries Anagramica on whether or not String word
is in the Anagramica
dictionary. Calls callback(error, response)
.