# usym **Repository Path**: ricsy/usym ## Basic Information - **Project Name**: usym - **Description**: No description available - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-02-08 - **Last Updated**: 2026-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Welcome to usym ๐Ÿ‘‹

npm version License: MIT TypeScript bundle size downloads

> A comprehensive Unicode symbols library with full TypeScript support. Contains 2000+ meticulously organized symbols, emojis, and icons for modern applications. ## โœจ Features - ๐ŸŽฏ **900+ Symbols** - Comprehensive Unicode coverage with emojis, icons, and special characters - ๐Ÿ”’ **Type Safe** - Full TypeScript support with autocomplete and type checking - ๐Ÿ“ฆ **Tree Shakeable** - Import only what you need, zero dependencies - โšก **fewer Dependencies** - Lightweight and fast - ๐ŸŽจ **Well Organized** - Symbols categorized logically for easy discovery - ๐Ÿ”ง **Utility Functions** - Helper functions for common symbol operations - ๐ŸŒ **Browser & Node** - Works in both browser and Node.js environments ## ๐Ÿ“ฆ Installation ```bash npm install usym # or pnpm add usym # or yarn add usym ``` ## ๐Ÿš€ Quick Start ### Basic Usage ```typescript import { SYMBOLS } from 'usym' // Status indicators console.log(`${SYMBOLS.STATUS.SUCCESS} Operation completed`) // => โœ… Operation completed console.log(`${SYMBOLS.STATUS.ERROR} Something went wrong`) // => โŒ Something went wrong console.log(`${SYMBOLS.STATUS.WARNING} Please check configuration`) // => โš ๏ธ Please check configuration ``` ### Type-safe Access ```typescript import { Core } from 'usym' // Safe symbol retrieval with fallback console.log(Core.get('STATUS', 'SUCCESS', 'โœ“')) // => โœ… console.log(Core.get('STATUS', 'WARNING', 'โš ')) // => โš ๏ธ if (Core.has('EMOTION', 'GRINNING')) { console.log('Grinning emoji is available!') } // => Grinning emoji is available! ``` ## ๐Ÿ“ Categories | Category | Description | Examples | |------------------|-----------------------------------------------------------------|----------------| | **`ARROW`** | Arrows and direction symbols | โฌ†๏ธ โฌ‡๏ธโฌ…๏ธ โžก๏ธ โ†—๏ธ | | **`DECORATIVE`** | Box-drawing and geometric decorative elements | โ”€ โ”‚ โ”Œ โ–€ โ–ˆ | | **`EMOTION`** | Facial expressions and emojis | ๐Ÿ˜€ ๐Ÿ˜ข ๐Ÿ˜ ๐Ÿค” ๐ŸŽ‰ | | **`MATH`** | Mathematical operators, constants, and symbols | + โˆ’ ร— รท = | | **`NATURE`** | Nature, animals, plants, and weather | ๐ŸŒณ ๐Ÿฑ ๐ŸŒˆ ๐ŸŒŠ โ˜€๏ธ | | **`NETWORK`** | Network connectivity, security, and communication icons | ๐Ÿ“ถ ๐Ÿ”’ ๐ŸŒ ๐Ÿ“ก ๐Ÿ”‘ | | **`OBJECT`** | Common objects, tools, electronic devices, and items | ๐Ÿ”จ ๐Ÿช› ๐Ÿช ๐Ÿงฒ ๐Ÿงช | | **`SHAPE`** | Geometric shapes, color blocks, and basic forms | ๐Ÿ”ด ๐ŸŸข โญ โค๏ธ โฌ› | | **`STATUS`** | Status indicators, markers, and feedback symbols | โœ… โŒ โš ๏ธ ๐Ÿ”„ โณ | | **`TIME`** | Time, dates, seasons, and calendar elements | ๐Ÿ• ๐Ÿ“… โŒš โฑ๏ธ โฐ | | **`UI`** | User interface elements, controls, and actions | โš™๏ธ ๐Ÿ” ๐Ÿ  ๐Ÿ’พ ๐ŸŽจ | | **`UNIT`** | Measurement units, currency symbols, and mathematical constants | โ„ƒ โ„‰ m cm mg | ## ๐Ÿ› ๏ธ Utility Functions ### Symbol Formatting ```typescript import { Formatter } from 'usym' // Create formatted status messages console.log(Formatter.message('success', 'File saved')) // => โœ… File saved console.log(Formatter.message('error', 'Upload failed')) // => โŒ Upload failed console.log(Formatter.message('loading', 'Processing...')) // => โŒ› Processing... // Create progress bars console.log(Formatter.progressBar(75, 100, 20)) // => console.log(Formatter.colorStatus('green', 'Connected')) // => ๐ŸŸข Connected console.log(Formatter.colorStatus('red', 'Disconnected')) // => ๐Ÿ”ด Disconnected ``` ### Symbol Search ```typescript import { Core } from 'usym' // Search for symbols by name console.log( Core.search('heart')) // => Returns: [{ category: 'SHAPE', key: 'HEART', symbol: 'โค๏ธ', searchText: 'heart โค๏ธ shape' }, ...] // Search for specific symbols console.log( Core.search('hand')) // => Returns: [{ category: 'EMOTION', key: 'HAND_OK', symbol: '๐Ÿ‘Œ', searchText: 'hand_ok ๐Ÿ‘Œ emotion' }, ...] ``` ## ๐Ÿค Contributing Contributions, issues, and feature requests are welcome! Feel free to check the https://github.com/ricsy/usym/issues. 1. Fork the project 2. Create your feature branch (`git checkout -b feature/amazing-feature`) 3. Commit your changes (`git commit -m 'Add some amazing feature'`) 4. Push to the branch (`git push origin feature/amazing-feature`) 5. Open a Pull Request ## ๐Ÿ’Ž Show your support Give a โญ๏ธ if this project helped you! ## ๐ŸŽฏ Roadmap - [ ] Add more symbols and categories - [ ] Create React component library - [ ] Add SVG icon variants - [ ] Create browser extension for symbol lookup - [ ] Add CLI tool for symbol search ---