README.md
February 6, 2026 ยท View on GitHub
Figx
๐ Documentation
โจ Features
- A comprehensive collection of utilities
- Easy to learn and use with clear documentation
- Written in TypeScript with native type support
๐ฆ Install
$ npm install figx
# or
$ yarn add figx
# or
$ pnpm add figx
๐จ Usage
import { toRgb, ColorFormat } from 'figx';
toRgb('#FF0000'); // => 'rgb(255, 0, 0)';
toRgb({ r: 255, g: 0, b: 0 }, ColorFormat.ARRAY); // => [255, 0, 0]
toRgb('hsl(0, 100%, 50%)', ColorFormat.OBJECT); // => { r: 255, g: 0, b: 0 }
๐ค Contributing
$ git clone git@github.com:headwindz/figx.git
$ pnpm i
$ pnpm run start
Open your browser and visit http://127.0.0.1:8000
๐ Credit
Inspired by the following awesome work: