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.
- Host: GitHub
- URL: https://github.com/artdecocode/csser
- Owner: artdecocode
- License: mit
- Created: 2019-05-21T14:47:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T14:47:40.000Z (over 6 years ago)
- Last Synced: 2025-01-08T06:32:27.539Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://artd.eco
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @artdeco/csser
[](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