Installation
Get started with UCD.js
Installation
:::warning This documentation is for a pre-release version of UCD.js. The API and features may change before the stable release. :::
Package Installation
Install the UCD.js packages you need using your preferred package manager:
npm install @ucdjs/corepnpm add @ucdjs/coreyarn add @ucdjs/coreBasic Usage
Start using UCD.js in your project:
import { getCharacterInfo } from '@ucdjs/core'
const info = getCharacterInfo('A')
console.log(info.name) // LATIN CAPITAL LETTER AExplore the packages
Check out the utilities documentation to learn about all available UCD.js modules.
CLI Installation
Install the CLI globally
Install the UCD.js CLI for global access to Unicode utilities:
npm install -g @ucdjs/cliExplore Unicode data
Use the CLI to explore Unicode characters and properties:
ucd char A
ucd block "Basic Latin"
ucd script LatinGet help
Access help and documentation for CLI commands:
ucd --help
ucd char --help