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

libmoji

v2.3.0

Published

Bitmoji's API made easy for everyone

Downloads

61

Readme

Libmoji

This is a tiny library for easily using the Bitmoji API to make fun, and unique Bitmoji avatars! This library utilizes Bitmoji's services to create new avatars, and to give existing account holders more image customization. Libmoji provides functions that allow you to build the image URL for an avatar with random or specific characteristics pulled from the Bitmoji asset database. It also allows you to render your personal Bitmoji in ways that aren't normally possible! Comics are pulled from the templates database.

Libmoji makes it easy for you to integrate Bitmoji avatars into your project without the need for having a Bitmoji or Snapchat account. Libmoji works without the use of access tokens when generating avatars, and therefore can only render character previews by default. In order to create comic strips, you will need to have a Bitmoji or Snapchat account, and have the chrome extension. While making an account is not necessary for all of Libmoji, it is recommended so that you can have fun exploring all possibilities!

Many different types of Bitmoji styles can be created. Libmoji allows you to make Bitmoji Deluxe, Bitmoji Classic, and Bitstrips avatar styles. Each style can be rendered in either gender with tons of different traits and outfits! There are an infinte amount of possibilities! See the article Bitmoji Styles for examples of what each style looks like.


Integrating Libmoji

Integrating Libmoji into your project is very simple! You've got two options to choose from. Either fork the project from GitHub, or use npm to install the module.

Npm Installation

$ npm install libmoji

Regardless of your installation choice, you should now have access to all functions and variables from the library. Libmoji does not use too many variables or functions, but it is important to make sure that you do not use any of the same names in your project or it could cause errors. Refer to the documentation for how to use Libmoji.


Additional Information

If you're interested in how a Bitmoji image URL is assembled, or need assistance with using Libmoji please visit the wiki. It contains all Libmoji related docs and articles which may be of use.

Also, to use the comics portion of Libmoji, you need to first identify your unique avatar ID. This can be done by following the steps in this article. Once you have the ID, you're good to go!


Product disclaimer

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Bitmoji or any of its affiliates or subsidiaries. This is an independent and unofficial product. Use at your own risk.