JSPM

@chrisaugu/png-national-color

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q41673F
  • License ISC

Package Exports

  • @chrisaugu/png-national-color
  • @chrisaugu/png-national-color/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chrisaugu/png-national-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

PNG National Color ๐Ÿ‡ต๐Ÿ‡ฌ

A simple npm package that provides the national colors of Papua New Guinea (PNG) as RGB, HEX, and HSL values. Useful for theming, design, or any application that requires PNG's official colors.

๐Ÿ“ฅ Install

Install the package via npm:

npm install @chrisaugu/png-national-color

Or with Yarn:

yarn add @chrisaugu/png-national-color

๐Ÿ› ๏ธ How to Use

Import the package and access PNG's national colors in different formats:

const pngColors = require('@chrisaugu/png-national-color');

console.log(pngColors.color.black);
console.log(pngColors.color.white);
console.log(pngColors.color.red);
console.log(pngColors.color.yellow);
console.log(pngColors.emoji_color);
console.log(pngColors.emoji);

Available Colors

  • Black (Traditional)
  • Red (Symbolizes unity)
  • Gold/Yellow (Represents the sun and wealth)

๐Ÿ“œ License

This project is licensed under the MIT License. See LICENSE for details.

๐Ÿค Contribution

Contributions are welcome! If you'd like to improve this package:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/improvement)
  3. Commit your changes (git commit -m 'Add new color format')
  4. Push to the branch (git push origin feature/improvement)
  5. Open a Pull Request

๐Ÿ‘ค Author

  • Christian Augustyn
  • GitHub: @chrisaugu
  • NPM: @chrisaugu

๐Ÿงช Test

To run tests (if available), use:

npm test

Or check the /test directory for examples.