An open API service indexing awesome lists of open source software.

https://github.com/artdecocode/csser

The CSS Enhancer To Include Vendor Prefixes Automatically.
https://github.com/artdecocode/csser

Last synced: 11 months ago
JSON representation

The CSS Enhancer To Include Vendor Prefixes Automatically.

Awesome Lists containing this project

README

          

# @artdeco/csser

[![npm version](https://badge.fury.io/js/@artdeco/csser.svg)](https://npmjs.org/package/@artdeco/csser)

`@artdeco/csser` is The CSS Enhancer To Include Vendor Prefixes Automatically.

```sh
yarn add @artdeco/csser
```

## Table Of Contents

- [Table Of Contents](#table-of-contents)
- [API](#api)
- [`csser(arg1: string, arg2?: boolean)`](#mynewpackagearg1-stringarg2-boolean-void)
* [`_@artdeco/csser.Config`](#type-_@artdeco/csserconfig)
- [Copyright](#copyright)

## API

The package is available by importing its default function:

```js
import csser from '@artdeco/csser'
```

## `csser(`
  `arg1: string,`
  `arg2?: boolean,`
`): void`

Call this function to get the result you want.

__`_@artdeco/csser.Config`__: Options for the program.

| Name | Type | Description | Default |
| --------- | ---------------- | ----------------- | ------- |
| shouldRun | boolean | A boolean option. | `true` |
| __text*__ | string | A text to return. | - |

```js
/* alanode example/ */
import csser from '@artdeco/csser'

(async () => {
const res = await csser({
text: 'example',
})
console.log(res)
})()
```
```
example
```

## Copyright

(c) [Art Deco][1] 2019

[1]: https://artd.eco