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

smartplant

v0.1.5

Published

A library for managing plant care with alerts and multi-language support.

Downloads

32

Readme

SmartPlant

HEADER

SmartPlant is a pioneering library designed for plant care with AI technology, aimed at integrating automated alerts with multi-language support. This standard prototype library is crafted for intelligent devices that manage plant care, enhancing the level of interaction and intelligence between plants and their owners. The core idea behind SmartPlant is to pave the way for advancements in plant care technology. It serves as a foundation for developing more sophisticated solutions and experimenting with innovative devices that cater to the needs of plants. By leveraging this library, developers can contribute to evolving the ecosystem of smart plant care.

[!WARNING] Currently in phase Beta

Features

  • Multi-language support
  • Alerts for plant care (moisture, sunlight, water, soil, temperature)
  • Local and external input methods
  • Automatic configuration and notifications

Installation

To install the library, use npm:

npm install smartplant

Usage

To start using SmartPlant, follow these steps:

  1. Import the Library

    import SmartPlant  from 'smartplant'
  2. Create an Instance and Configure

        
    const smartPlant = new SmartPlant();
        
    // Select language
    smartPlant.setLanguage('en'); // Options: 'en', 'es', 'fr', 'de', 'it', 'pt', 'nl', 'ru', 'zh', 'ja'
        
    // Select input method
    smartPlant.setInputMethod('local'); // Options: 'local', 'extern'
                    
  3. Configure the Plant

        
    smartPlant.setPlantType('indoor'); // Options: 'indoor', 'outdoor'
    smartPlant.setPlantName('Ficus'); // Replace 'Ficus' with the name of your plant
        
    // Configure alerts
    smartPlant.configureAlerts();
                    
  4. Start Monitoring

    smartPlant.startMonitoring();

Language Configuration

You can configure the language as follows:

smartPlant.setLanguage('en'); // Change 'en' to the desired language code

Available languages are:

  • en - English
  • es - Spanish
  • fr - French
  • de - German
  • it - Italian
  • pt - Portuguese
  • nl - Dutch
  • ru - Russian
  • zh - Chinese
  • ja - Japanese

Input Methods

Choose between:

  • Local: Detects plants on your computer.
  • External: Uses an external API; requires an API key.

Alert Messages

**SmartPlant** provides customized messages based on the plant's needs. Here are some examples:

  • Low Moisture: "The moisture in my soil is low. I need water!"
  • Low Sunlight: "I am receiving too little sunlight. I need more sun!"
  • High Temperature: "The temperature is too high. Please lower it!"
  • Happy: "I am very happy and healthy!"

Contributions

Contributions are welcome. If you wish to contribute, please review the [CONTRIBUTING.md](CONTRIBUTING.md) file for more details.

License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

Contact

For questions or support, contact [[email protected]](mailto:[email protected]).


Thank you for using SmartPlant. We hope you enjoy managing your plants with our library.