1.0.4 • Published 6 months ago

flames-match v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

šŸ”„ flames-match

NPM Version Downloads License

šŸ”„ A simple and fun FLAMES game package to check relationship compatibility between two names. Get your match result instantly using this package!


šŸš€ Installation

Install the package using npm or yarn:

npm install flames-match

or

yarn add flames-match

šŸŽ® Usage

Import the package and use it to determine the relationship between two names:

const flamesMatch = require("flames-match");

const result = flamesMatch("Alice", "Bob");

console.log(result); // Output: "Friends" | "Love" | "Affection" | "Marriage" | "Enemy" | "Siblings"

Using in ES Modules

import flamesMatch from "flames-match";

console.log(flamesMatch("John", "Doe")); 
// Output: One of "Friends", "Love", "Affection", "Marriage", "Enemy", or "Siblings"

šŸ“œ FLAMES Meaning

The result will be one of the following:

  • F → Friends šŸ‘¬
  • L → Love ā¤ļø
  • A → Affection 😊
  • M → Marriage šŸ’
  • E → Enemy 😠
  • S → Siblings šŸ‘©ā€šŸ‘¦

šŸ“Œ How It Works

  1. The common letters between the two names are removed.
  2. The remaining letters are counted.
  3. The count is used to cycle through the word "FLAMES" until one letter remains.
  4. The letter determines the relationship outcome.

šŸ› ļø Development & Contributions

Want to improve the package? Feel free to fork the repo and submit a pull request. Contributions are welcome! 😊

git clone https://github.com/yourusername/flames-match.git
cd flames-match
npm install
npm run test

šŸ“œ License

This package is licensed under the MIT License. See LICENSE for details.


šŸ“ž Contact

For queries or suggestions, feel free to reach out:


Enjoy the FLAMES game! šŸ”„šŸ”„šŸ”„

1.0.4

6 months ago

1.1.1

6 months ago

1.1.0

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago