0.0.4 • Published 5 years ago

@koltong/toaster v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Toaster

Transforms CSS styles to JSON styles

Toaster aims to simplify the transformation of CSS styles (what we call bread) to JSON styles (what we call toast).

Supported Styles

Bread Types Input StylesToast Types Output Styles
CSSJSON

CLI Usage

With NPX

> npx @koltong/toaster <bread> <toast>

With Global Install

Verify if you have node and npm installed.

Install package globally.

> npm install -g @koltong/toaster

Command line argument.

> toaster <bread> <toast>

Command Line Arguments

ParamDescription
breadFile path of the .css file. Ex: ./test.css
toastFile path for the outputted .json file. Ex: ./test.json