UNPKG

fela-tools

Version:

Useful tools for working with Fela

31 lines (21 loc) 1.07 kB
# fela-tools A set of useful tools to work with Fela. <img alt="npm version" src="https://badge.fury.io/js/fela-tools.svg"> <img alt="npm downloads" src="https://img.shields.io/npm/dm/fela-tools.svg"> <a href="https://bundlephobia.com/result?p=fela-tools@latest"><img alt="Bundlephobia" src="https://img.shields.io/bundlephobia/minzip/fela-tools.svg"></a> ## Installation ```sh yarn add fela-tools ``` You may alternatively use `npm i --save fela-tools`. ## Usage The API is exported by the `fela-tools` package by default e.g. ```javascript import { StyleSheet } from 'fela-tools' ``` ## API Reference * [`mapValueToMediaQuery(queryValueMap, mapper)`](docs/mapValueToMediaQuery.md) * [`renderToString(renderer)`](docs/renderToString.md) * [StyleSheet](docs/StyleSheet.md) ## License Fela is licensed under the [MIT License](http://opensource.org/licenses/MIT).<br> Documentation is licensed under [Creative Commons License](http://creativecommons.org/licenses/by/4.0/).<br> Created withby [@robinweser](http://weser.io) and all the great contributors.