TypeScript icon, indicating that this package has built-in type declarations

0.1.0Β β€’Β PublicΒ β€’Β Published

Constante 🌟 - Your Constant Value Collection πŸ› οΈ

Constante is an npm package πŸ“¦ that provides a wide range of constant values as enums, which can be utilized in JavaScript and TypeScript projects. It simplifies the process of using constants across different programming scenarios.

Features πŸš€

  • Comprehensive collection of constants. 🌈
  • Enumerated values for easy access and use. πŸ”’
  • Supports a variety of constants including colors 🎨, positions πŸ“, dates πŸ“†, continents 🌍, languages πŸ—£οΈ, and more.
  • Simplifies code by providing ready-to-use constant values. 🧩

Installation πŸ› οΈ

Install using npm:

npm install constante

Or using yarn:

yarn add constante

Usage πŸ’»

Import the required constants and use them in your project:

const { COLORS, POSITION, DATE, ... } = require('constante');

console.log(COLORS.RED); // Outputs: 'Red'
// More examples...

Enums Available πŸ“š

  • COLORS: Colors enumeration. 🎨
  • POSITION: Positions enumeration. πŸ“
  • DATE: Date-related constants like months, days. πŸ“†
  • CONTINENTS: Enum for continents. 🌍
  • LANGUAGE: Language codes and names. πŸ—£οΈ
  • CURRENCY: Currency codes. πŸ’²
  • PROGRAMMING_LANGUAGE: Programming languages. πŸ‘¨β€πŸ’»
  • COUNTRY_FLAGS: Emoji representations of country flags. πŸ³οΈβ€πŸŒˆ
  • WEB_NAMESPACES: Web-related namespace URLs. 🌐
  • HTML_TAG_NAMES: HTML tag names. 🏷️
  • SVG_TAG_NAMES: SVG tag names. πŸ–ΌοΈ
  • MATHML_TAG_NAMES: MathML tag names. πŸ”’
  • ARIA_ATTRIBUTES: ARIA attributes for accessibility. β™Ώ
  • JAVASCRIPT_TYPES: JavaScript data types. πŸ“œ
  • HTTP_STATUS_CODES: HTTP status code definitions. 🚦

Contributing 🀝

Contributions are welcome. Open issues or submit pull requests on our GitHub repository.

License πŸ“„

This project is open-sourced under the MIT License.

Feedback and Support πŸ“’

For questions or feedback, reach out on our GitHub repository. Your input is valued and appreciated. 🌟

Package Sidebar


npm i constante

Weekly Downloads






Unpacked Size

575 kB

Total Files


Last publish


  • jalalazimi