alphabate
is a simple and lightweight JavaScript package that exports all alphabets (both uppercase and lowercase), numbers (0-9), and symbols. It provides easy access to individual characters and symbols through intuitive, user-friendly named exports. This package is ideal for developers who need access to alphabets, numbers, and symbols for UI development, data validation, token generation, or other use cases requiring characters and symbols.
-
All Alphabets: Access both uppercase (
A-Z
) and lowercase (a-z
) letters. - All Numbers: Access digits from 0 to 9.
-
Common Symbols: Easily access symbols like
@
,#
,$
, and others with user-friendly names. - Effortless Integration: Simply import the characters or symbols you need.
- Zero Dependencies: A lightweight package with no dependencies for fast integration.
To install the alphabate
package, run the following command:
npm install alphabate
Or if you're using Yarn:
yarn add alphabate
After installing, you can import the package into your JavaScript or TypeScript project.
You can easily import and use both uppercase and lowercase alphabets:
import { a, B, z, X } from 'alphabate';
console.log(a); // 'a'
console.log(B); // 'B'
console.log(z); // 'z'
console.log(X); // 'X'
You can also import and use individual numbers:
import { num_0, num_5, num_9 } from 'alphabate';
console.log(num_0); // '0'
console.log(num_5); // '5'
console.log(num_9); // '9'
Symbols are also exported with user-friendly names:
import { exclamation, dollar, ampersand } from 'alphabate';
console.log(exclamation); // '!'
console.log(dollar); // '$'
console.log(ampersand); // '&'
The following exports are available:
-
Alphabets:
- Lowercase:
a, b, c, ..., z
- Uppercase:
A, B, C, ..., Z
- Lowercase:
-
Numbers:
num_0, num_1, ..., num_9
-
Symbols:
exclamation, at, hash, dollar, percent, caret, ampersand, asterisk, openParen, closeParen, dash, underscore, equals, plus, openBracket, closeBracket, openBrace, closeBrace, pipe, semicolon, colon, singleQuote, doubleQuote, comma, period, lessThan, greaterThan, slash, questionMark, backtick, tilde
For a complete list of all exported items, see the source code.
alphabate
is licensed under the MIT License.
This package provides the following useful features for developers:
- JavaScript alphabet package
- Access letters, numbers, and symbols
- User-friendly symbol exports
- Alphabets export for React
- Common symbols for JavaScript
- ES6 export package
- JavaScript number and symbol helper
- Character and symbol utility
- Simple JavaScript utilities
- Lightweight alphabet package for Node.js
- Time-saving: No need to define or import individual characters manually.
- Convenience: Access both alphabets and common symbols via intuitive names.
- Improved readability: Code remains clean and understandable by using human-readable symbol names.
- Perfect for UI design: Easily generate random characters, create UI elements, or perform validation tasks with predefined exports.
By providing an easy-to-use API and simple installation, alphabate
offers a quick solution for developers who require common characters for any JavaScript-based project. Whether you're building user interfaces, token generation, form validation, or testing, this package simplifies character management in your project.