A simple package to calculate Flames match results
npm install flames-match


š„ A simple and fun FLAMES game package to check relationship compatibility between two names. Get your match result instantly using this package!
---
Install the package using npm or yarn:
``sh`
npm install flames-match
or
`sh`
yarn add flames-match
---
Import the package and use it to determine the relationship between two names:
`js
const flamesMatch = require("flames-match");
const result = flamesMatch("Alice", "Bob");
console.log(result); // Output: "Friends" | "Love" | "Affection" | "Marriage" | "Enemy" | "Siblings"
`
js
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! š
`sh
git clone https://github.com/yourusername/flames-match.git
cd flames-match
npm install
npm run test
``---
This package is licensed under the MIT License. See LICENSE for details.
---
For queries or suggestions, feel free to reach out:
- GitHub: @praveenrampk
- Twitter/X: @praveenrampk
- Portfolio: praveenram.dev
- Email: praveenrampk@gmail.com
---
Enjoy the FLAMES game! š„š„š„