JSPM

anagram-test

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q23963F
  • License ISC

Allows a user to enter a base word and a comparator word which will be used to see if the comparator is an anagram of the base word.

Package Exports

  • anagram-test

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (anagram-test) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Anagram

A small library that takes in a base word and a comparator word which will be used to see if the comparator is an anagram of the base word. An anagram is a direct word switch or word play, the result of rearranging the letters of a word or phrase to produce a new word or phrase.

Installation

npm install anagram

Usage

var anagram = require('anagram');

var anagramResponseObj = anagram.anagramTest('dogs', 'gods');

Output should be { message: 'Awesome, everything checks out, looks like you have an ANAGRAM!', isAnagram: true }

Tests

WIP

Contributing

WIP