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

nlogo

v1.8.0

Published

A searchable collection of logos for node/npm packages (hosted remotely)

Downloads

4

Readme

NLogo Build Status

A searchable collection of logos for node/npm packages

Reasons why more open source projects should have a logo

These are from the top of my head and probably not backed by any science. (PR this to make it more compelling and add citations).

  1. Logos are good UX, you can generally scan colors + shapes more quickly than read some text.
  2. Logos can often quickly tell you something about the project
  3. Logos help you remember a project
  4. Logos make projects more approachable to beginners/noobs
  5. i18n friendly
  6. Having fun, being relatable and expressing personality are awesome (logos can help do this)

PR this please

It's early days and contributions are required to build up a comprehensive list of logos for node/npm packages.

There are two types of contributions that would be super helpful right now:

  1. Add logos for existing node/npm modules
  2. Create a logo or request that someone creates a logo for one of your open source node/npm modules

How to use

There are two libraries that you can use, nlogo or nlogo-images.

The differences are:

  • nlogo: Gives you a remote (on the web) reference to the logos
  • nlogo-images: Bundles all images and gives you a local (on hard disk) refererence to logos

Be wary of using nlogo-images because it bundles all of the image files which may add quite a bit of weight to your node_modules directory.

nlogo

npm install nlogo
const nlogo = require('nlogo');
const req = require('request-promise-native');
const redux = nlogo.get('react-redux');
// => {
//      filename: 'redux.svg',
//      url: 'https://nlogo.github.io/images/redux.svg',
//      author: {
//        name: "Matthew Johnston",
//        url: "http://thedeskofmatthew.com/"
//      }
//    }
await req(redux.url);
// => '<svg>…</svg>'

nlogo-images

npm install nlogo-images
const logos = require('nlogo-images');
const { readFile } = require('fs');

const redux = logos.get('react-redux');
// => {
//      filename: 'redux.svg',
//      path: '/Users/dave/my-site.com/node_modules/nlogo-images/redux.svg',
//      url: 'https://nlogo.github.io/images/redux.svg',
//      author: {
//        name: "Matthew Johnston",
//        url: "http://thedeskofmatthew.com/"
//      }
//    }
await readFile(redux.path, 'utf8');
// => '<svg>…</svg>'

Next goals

  1. Encourage collaboration between logo designers and devs/maintainers to create logos for their open-source projects
  2. Make a simple web app frontend that allows you to filter through the logos in this repo
  3. Add more structure around image formats and dimensions, expose more logo metadata.