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

emoji-cc

v1.0.1

Published

Complete set of emojis designed for the web. It includes JSON to help convert unicode characters to shortnames (:smile:) and shortnames to our custom emoji images. SVG formats provided for the emoji images.

Downloads

27

Readme

Emoji-CC

Emoji Creative Commons is a fork of the last fully free EmojiOne™ 2.x version.

Installation

Install with npm.

npm install emoji-cc --save

NPM Stats

Usage

Selective import and lazy loading are ideal, total size for all emoji is around 3Mb, making it less than ideal to include something like emoji.css on a client bundle.

HTML

Copy ./svg into the /public directory.

<html>
  <head></head>
  <body>
    <img src="/public/svg/coffee.svg" />
  </body>
</html>

HTML + CSS, single

Copy ./css/coffee.css into the /public/css/coffee.css directory of your project.

<html>
  <head>
    <link rel="stylesheet" href="/public/css/coffee.css" />
  </head>
  <body>
    <div class="emoji-coffee">
      Hello World
    </div>
  </body>
</html>

HTML + CSS, all

Copy ./emoji.css into the /public/css directory of your project.

<html>
  <head>
    <link rel="stylesheet" href="/public/emoji.css" />
  </head>
  <body>
    <div class="emoji-coffee">
      Hello World
    </div>
  </body>
</html>

React, svg import

import React, { Component } from 'react';
import coffee from 'emoji-cc/svg/coffee.svg';

class example extends Component {
  render() {
    return (
      <main>
        {coffee}
      </main>
    )
  }
}

React, inline style

import React, { Component } from 'react';
import coffee from 'emoji-cc/style/coffee.js';

class example extends Component {
  render() {
    return (
      <main>
        <div style={coffee} />
        
        <div style={{ border: '1px solid black', ...coffee}} />
      <main>
    )
  }
}

Why only SVG?

All major browsers and devices support SVG. Scalable vector graphics (SVG) is a description for a path and not the rendered path itself, this means scaling up or down to your devices viewport can happen without loss of quality or fidelity.

SVG is only format supported by this project.

History

EmojiTwo is a fork of the last fully free EmojiOne™ 2.x version. The non-free EmojiOne 3.0 assets have been completely deleted. The EmojiOne project made changes to 2.2.7’s licensing. Previously EmojiOne did not require attribution for non-commercial and personal use (for proof see this snapshot of their website). Considering that the EmojiOne project ony changed the ReadMe file in that branch to mandate attribution in any case, EmojiTwo forked a state before those changes for greater flexibility. Whether or not EmojiTwo will see continued development, is not clear. At the very least it serves as backup. Hopefully Free > Software organsizations that adopted EmojiOne 2.x, such as Mozilla and KDE, will continue development of a fully free emoji > set in some form.

License

EmojiOne Artwork

  • Applies to all PNG and SVG files as well as any adaptations made.
  • License: Creative Commons Attribution 4.0 International
  • Human Readable License: http://creativecommons.org/licenses/by/4.0/
  • Complete Legal Terms: http://creativecommons.org/licenses/by/4.0/legalcode

EmojiOne Non-Artwork

  • Applies to the Javascript, JSON, PHP, CSS, HTML files, and everything else not covered under the artwork license above.
  • License: MIT
  • Complete Legal Terms: http://opensource.org/licenses/MIT