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

feelem

v1.0.3

Published

A Git hook that prefixes commit messages with emojis based on the commit topic, using Husky for easy setup and a customizable emoji table.

Downloads

7

Readme

FeelEm

Overview

FeelEm is a Git hook for the commit-msg hook that uses Husky to automatically prefix your commit messages with an emoji based on the commit topic. Emojis are selected from a predefined table, which is determined using a language model. This tool enhances your commit messages with visual cues, making it easier to categorize and understand changes at a glance.

Features

  • Automated Emoji Prefixing: Adds an emoji prefix to your commit messages based on the commit topic.
  • Customizable Emoji Table: Uses an emoji table defined on GitHub, which you can modify to suit your project.
  • Seamless Integration: Integrates easily with Husky for straightforward setup.

Installation

  1. Install Husky: If Husky is not already installed, add it to your project by running:

    npm install husky --save-dev

    then init your husky project:

    npx husky init
  2. Install feelem:

    npm install feelem --save-dev
  3. Set up Husky Hooks:

Set up should happen automaticlly after installing the package

  1. Set up Gemini API Key:

feelem requires Gemini to work. you should supply it GEMINI_API_KEY as an environemnt variable so it can use Google Gemini LLM.

export GEMINI_API_KEY= # you private key

Usage

When making a commit, feelem will analyze the commit message and automatically prefix it with an appropriate emoji based on the topic. For example:

  • A commit message with the topic "fix bug" might be prefixed with a 🐛 (bug) emoji.
  • A commit message with the topic "add feature" might be prefixed with a ✨ (sparkles) emoji.

Contributing

Contributions are welcome! To contribute to feelem, please follow these steps:

  1. Fork the repository.
  2. Create a feature branch.
  3. Commit your changes.
  4. Push your changes to your fork.
  5. Open a pull request.

License

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

Contact

For questions or issues, please open an issue on the GitHub repository.