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

lemoji

v0.1.0-0

Published

Emoticons made using a series of symbols.

Downloads

2

Readme

lemoji

npm bundle size GitHub npm

Emoticons made using a series of symbols.

What is this?

This package contains emoji made with unicode characters.You can easliy use text (e.g. :angry) to type the emoji maybe you want (ꐦ≖ ≖).

About lemoji

  • it has associated tags, description, and category.
  • it is built entirely with typescript.
  • And this package is safe.

who needs this bag?

  • If you want to use emoji on an operating system that doesn't support graphics.
  • Or you like them very much.
  • Or hope to use these emoji in your project.

Install

This package supprts esm and commonjs. You can use npm, yarn, or pnpm to install this package.

use npm

npm install lemoji

use yarn

yarn add lemoji

use pnpm

pnpm add lemoji

How to use

This package exports the following identifiers: lemoji, nameToEmoji, emojiToName.

If you use commonjs, you can use require to import the identifiers

const { nameToEmoji } = require("lemoji")

If you use esm, you can use import to import identifiers

import { nameToEmoji } from "lemoji"

API

lemoji: it is a objects (Ilemoji[]).Every lemoji has the following fields:

{
  name: string;
  emoji: string;
  tags: string[];
  description: string;
  category: string;
}
  • Example

    import {lemoji} from 'lemoji'
    
    console.log(lemoji)
  • fields:

    [
     {
       "emoji": "(·•᷄ࡇ•᷅ )",
       "names": ["tangled"],
       "tags": ["frustrated","unhappy"],
       "description": "tangled face",
       "category": "Smileys & Emotion"
     },
     {
       "emoji": "(◍•ᴗ•◍)",
       "names": ["smiley"],
       "tags": ["happy","joy","haha"],
       "description": "grinning face",
       "category": "Smileys & Emotion"
     },
     //...
    ]

nameToEmoji: it is a objects (InameToEmoji).Every nameToEmoji has the following fields:

{
  [name: string]: string;
}
  • use esm

    const { nameToEmoji } = require("lemoji")
    
    console.log(nameToEmoji.angry)//ꐦ≖ ≖
    console.log(nameToEmoji.happy)//(•̀ᴗ• )
  • use commonjs

    const { nameToEmoji } = require("lemoji")
    
    console.log(nameToEmoji.angry)//ꐦ≖ ≖
    console.log(nameToEmoji.happy)//(•̀ᴗ• )

emojiToName: it is a objects (IemojiToName).Every emojiToName has the following fields:

{
  [emoji: string]: string;
}
  • use esm:

    import { emojiToName } from "lemoji"
    
    console.log(emojiToName["(*^_^*)"])//smile
    console.log(emojiToName["(\xB7\u2022\u1DC4\u0847\u2022\u1DC5 \uFF09"])//tangled
  • use commonjs:

    const { emojiToName } = require("lemoji")
    
    console.log(emojiToName["ꐦ≖ ≖"])//angry

use cli to search name

if you want to know wether there is this name, or want to contribute an emoji, you can use it.

  • if you don't have a global download

     npx lemoji -n happy
     //The name is already there (happy), and its emoji is((•̀ᴗ• )) please rename it
  • if you have a global download, you can directly use.

    lemoji -n happy

License

MIT