constante
v0.1.0
Published
𧩠Your versatile constant value collection for JavaScript and TypeScript.
Downloads
14
Maintainers
Readme
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. π