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. 🌟