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

gb-palettes

v1.0.14

Published

A collection of 4-color palettes

Downloads

68

Readme

gb-palettes

Usage

npm install gb-palettes

Importing all palettes:
const palettes = require('gb-palettes');
import palettes from 'gb-palettes';

Importing a subset (see categories in table below):
const devicePalettes = require('gb-palettes/src/devices.js');
import devicePalettes from 'gb-palettes/src/devices.js';

Importing a single palette:
const gbPocketColors = require('gb-palettes/src/palettes/gbpocket.js');
import gbPocketColors from 'gb-palettes/src/palettes/gbpocket.js';

List of Palettes

| ShortName | Name | Preview | Categories | Origin | |---|---|---|---|---| | bw | Black & White | bw | classic, devices | | | dmg | Original Game Boy | dmg | classic, devices | | | gbpocket | Game Boy Pocket | gbpocket | classic, devices | | | bgb | BGB Emulator | bgb | classic | | | gbli | Game Boy Light | gbli | classic, devices | by HerrZatacke | | grafixkidgray | Grafixkid Gray | grafixkidgray | creative | | | grafixkidgreen | Grafixkid Green | grafixkidgreen | creative | | | blackzero | Game Boy (Black Zero) palette | blackzero | creative | | | gbcjp | PocketCamera, JP | gbcjp | devices, gbcolor | | | gbcu | Game Boy Color Splash Up | gbcu | devices, gbcolor | The Cutting Room Floor | | gbcua | Game Boy Color Splash Up+A | gbcua | devices, gbcolor | The Cutting Room Floor | | gbcub | Game Boy Color Splash Up+B | gbcub | devices, gbcolor | The Cutting Room Floor | | gbcl | Game Boy Color Splash Left | gbcl | devices, gbcolor | The Cutting Room Floor | | gbcla | Game Boy Color Splash Left+A | gbcla | devices, gbcolor | The Cutting Room Floor | | gbclb | Game Boy Color Splash Left+B | gbclb | devices, gbcolor | The Cutting Room Floor | | gbcd | Game Boy Color Splash Down | gbcd | devices, gbcolor | The Cutting Room Floor | | gbcda | Game Boy Color Splash Down+A | gbcda | devices, gbcolor | The Cutting Room Floor | | gbcdb | Game Boy Color Splash Down+B | gbcdb | devices, gbcolor | The Cutting Room Floor | | gbcr | Game Boy Color Splash Right | gbcr | devices, gbcolor | The Cutting Room Floor | | gbceuus | Game Boy Color Splash Right+A (Game Boy Camera, EU/US) | gbceuus | devices, gbcolor | The Cutting Room Floor | | gbcrb | Game Boy Color Splash Right+B | gbcrb | devices, gbcolor | The Cutting Room Floor | | cybl | Cyanide Blues | cybl | creative | by HerrZatacke | | aqpp | Audi Quattro Pikes Peak | aqpp | creative | | | wtfp | Waterfront Plaza | wtfp | creative | | | chig | Childhood in Greenland | chig | creative | | | rcs | Rusted City Sign | rcs | creative | | | fsil | Floyd Steinberg in Love | fsil | creative | | | shzol | Space Haze Overload | shzol | creative | | | tdoyc | The death of Yung Columbus | tdoyc | creative | | | cfp | Caramel Fudge Paranoia | cfp | creative | | | sfh | Sunflower Holidays | sfh | creative | | | dhg | Deep Haze Green | dhg | creative | | | yirl | Youth Ikarus reloaded | yirl | creative | | | cctr | Candy Cotton Tower Raid | cctr | creative | | | d2kr | Dune 2000 remastered | d2kr | creative | | | shmgy | Super Hyper Mega Gameboy | shmgy | creative | | | llawk | Links late Awakening | llawk | creative | | | cga1 | CGA Palette Crush 1 | cga1 | creative | | | cga2 | CGA Palette Crush 2 | cga2 | creative | | | marmx | Metroid Aran remixed | marmx | creative | | | slmem | Starlit Memories | slmem | creative | | | datn | Drowning at night | datn | creative | | | tsk | The starry knight | tsk | creative | | | ppr | Purple Rain | ppr | creative | | | cmyk | CMYKeystone | cmyk | creative | | | vb85 | Virtual Boy 1985 | vb85 | creative | | | azc | Azure Clouds | azc | creative | | | gelc | Golden Elephant Curry | gelc | creative | | | roga | Romero’s Garden | roga | creative | by HerrZatacke | | kditw | Knee-Deep in the Wood | kditw | creative | by HerrZatacke | | dimwm | Dies ist meine Wassermelone | dimwm | creative | by HerrZatacke | | spezi | My Friend from Bavaria | spezi | creative | by HerrZatacke | | ffs | Flowerfeldstraße | ffs | creative | by HerrZatacke | | banana | There’s always money | banana | creative | by HerrZatacke | | hipster | Artistic Caffeinated Lactose | hipster | creative | by HerrZatacke | | nc | Nortorious Comandante | nc | creative | by HerrZatacke | | glmo | Glowing Mountains | glmo | creative | by HerrZatacke | | tpa | Tramonto al Parco degli Acquedotti | tpa | creative | delma |

contributing

Contributions of new palettes is very welcome. If you want to do so, please create a pull-request which contains:

  • Addition of your palette to the importable category files.
  • The new palette file itself.

palette file structure:

module.exports = {
  shortName: 'gbcua',
  name: 'Game Boy Color Splash Up+A',
  palette: ['#ffffff', '#ff8f84', '#943a3a', '#000000'],
  origin: 'Wikipedia',
};
  • Make sure your contribution matches the rules in the .editorconfig.
  • Use singlequotes.
  • Provide a shortName which can be used as a vaild ID in html and as a javascript object key. Also, make sure the shortName matches the filename of your palette file.
  • Provide a descriptive and informational human readable name yor your palette* Provide the Hex-Values in lowercase with six characters.
  • If possible, provide the origin of your palette. (source/creator/if you created it yourself, use by YourName).
  • Before submitting your pull-request run npm run readme to update the table of palettes.