Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

anagramica

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anagramica

Anagramica API wrapper

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

anagramica

Build Status Dependency Status

Anagramica API wrapper.

Example

var anagramica = require('anagramica');

anagramica.all('bread', function(error, response) {
  if (error) {
    throw error;
  }

  console.log(response);
  //=> {
  //=>   'all': [
  //=>     'bared',
  //=>     'beard',
  //=>     'bread',
  //=>     'debar'
  //=>   ]
  //=> }
});

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).

Keywords

FAQs

Package last updated on 26 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc