npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

lovemate

v1.0.4

Published

A package that says affectionate phrases in various languages.

Downloads

18

Readme

NPM Version NPM Monthly Downloads

Last Commit Language Most Used Implementations Repository Size

Forks Stars Watches

Author GitHub

lovemate 💖🎵

lovemate is a fun npm package designed to express affectionate phrases in various languages through voice.

Table of Contents

Description

Solumate provides an extensive repertoire of romantic phrases in over 30+ languages, each complemented by a voice recording, text, and voice URL. Users can leverage these features to convey their affection to their loved ones with ease. Simply install the package and execute it to access a diverse array of heartfelt expressions, enhancing your communication in a myriad of languages.

Currently, users can hear the phrases in a female voice, with plans to add male voice options in the future.

Supported Languages

lovemate supports a wide range of languages, including:

  • af-ZA: Afrikaans (South Africa)
  • ar-XA: Arabic (Gulf)
  • bn-IN: Bengali (India)
  • cs-CZ: Czech (Czech Republic)
  • da-DK: Danish (Denmark)
  • de-DE: German (Germany)
  • el-GR: Greek (Greece)
  • en-AU: English (Australia)
  • en-GB: English (United Kingdom)
  • en-IN: English (India)
  • en-US: English (United States)
  • es-ES: Spanish (Spain)
  • es-US: Spanish (United States)
  • fi-FI: Finnish (Finland)
  • fil-PH: Filipino (Philippines)
  • fr-CA: French (Canada)
  • fr-FR: French (France)
  • hi-IN: Hindi (India)
  • hu-HU: Hungarian (Hungary)
  • id-ID: Indonesian (Indonesia)
  • it-IT: Italian (Italy)
  • ja-JP: Japanese (Japan)
  • ko-KR: Korean (South Korea)
  • nb-NO: Norwegian (Norway)
  • nl-NL: Dutch (Netherlands)
  • pl-PL: Polish (Poland)
  • pt-BR: Portuguese (Brazil)
  • pt-PT: Portuguese (Portugal)
  • ru-RU: Russian (Russia)
  • sk-SK: Slovak (Slovakia)
  • sv-SE: Swedish (Sweden)
  • ta-IN: Tamil (India)
  • tr-TR: Turkish (Turkey)
  • uk-UA: Ukrainian (Ukraine)
  • vi-VN: Vietnamese (Vietnam)
  • zh-CN: Chinese (Mandarin, Simplified)
  • zh-HK: Chinese (Cantonese, Traditional)
  • zh-TW: Chinese (Mandarin, Traditional)

Dependencies and API

lovemate uses the following npm packages:

  • google-tts-api: This package is used to generate the audio files from the translated phrases.
  • google-translate-api-x: This package is used to translate the phrases into the desired language.
  • play-sound: This package is used to play the generated audio files.

In addition, lovemate uses the quotable.io API to fetch random love quotes.

Installation

To install lovemate, use npm or yarn:

npm install lovemate

or

yarn add lovemate

Usage

const lovemateVoice = require("lovemate");

(async () => {
  try {
    const language = "bn-IN"; // Specify the language (e.g., 'en-US' for English, 'es-ES' for Spanish, etc.)
    const phrase = await lovemateVoice(language); // for English you don't need to pass the language parameter
    console.log("Message played successfully!", phrase);
  } catch (error) {
    console.error("Error:", error.message);
  }
})();

📜 License

Copyright © 2023 Md. Muhtasim Fuad Fahim

This project is licensed under the MIT License. This license allows you to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software. However, you must include the original copyright notice and disclaimers.

For more information about this license, please visit MIT License.

👤 Author

🤓 Md. Muhtasim Fuad Fahim [email protected]

📝 Contribution

Contributions, issues, and feature requests are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/AmazingFeature)
  • Commit your Changes (git commit -m 'Add some AmazingFeature')
  • Push to the Branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

Feel free to check the issues page for any existing issues or to create a new one.

  • Contributions, issues and features requests are welcome!
  • 📮 Submit PRs to help solve issues or add features
  • 🐛 Find and report issues
  • 🌟 Star the project