figx
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Figx

A comprehensive and reliable figma utilities library

npm-version-img npm-downloads-img license-img bundle-size-img

📚 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 --save
# or
$ yarn 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 }

💻 Demos

🤝 Contributing

$ git clone git@github.com:n0ruSh/figx.git
$ yarn
$ yarn start

Open your browser and visit http://127.0.0.1:8000

🙏 Credit

Inspired by the following awesome work:

create-figma-plugin

figma-plugin-helpers

Package Sidebar

Install

npm i figx

Weekly Downloads

517

Version

0.1.3

License

MIT

Unpacked Size

197 kB

Total Files

293

Last publish

Collaborators

  • n0rush