# corki-compiler

> A front-end resource compiler and adapter

Latest version **0.2.2** (published 2015-09-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install corki-compiler
pnpm add corki-compiler
yarn add corki-compiler
bun add corki-compiler
```

Provides the command `corkic`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2015-09-29 |
| First published | 2015-09-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Known vulnerabilities | 0 (+8 in 2 direct dependencies) |
| Install scripts | no |
| Author | Boom Lee |
| Maintainers | boom11235 |
| Keywords | compiler, make, build |

## Links

- npm: https://www.npmjs.com/package/corki-compiler
- Repository: https://github.com/jsenjoy/corki-compiler
- Homepage: https://github.com/jsenjoy/corki-compiler#readme
- Issues: https://github.com/jsenjoy/corki-compiler/issues
- npm.io page: https://npm.io/package/corki-compiler

## Dependencies (13)

- [jade](https://npm.io/package/jade.md) ~1.11.0
- [less](https://npm.io/package/less.md) ~2.5.1
- [extend](https://npm.io/package/extend.md) ^3.0.0
- [stylus](https://npm.io/package/stylus.md) ~0.52.4
- [postcss](https://npm.io/package/postcss.md) ~5.0.4
- [webpack](https://npm.io/package/webpack.md) ~1.12.1
- [commander](https://npm.io/package/commander.md) ~2.8.1
- [memory-fs](https://npm.io/package/memory-fs.md) ~0.2.0
- [node-sass](https://npm.io/package/node-sass.md) ~3.3.2
- [babel-core](https://npm.io/package/babel-core.md) ~5.8.23
- [autoprefixer](https://npm.io/package/autoprefixer.md) ~6.0.1
- [babel-loader](https://npm.io/package/babel-loader.md) ~5.3.2
- [coffee-loader](https://npm.io/package/coffee-loader.md) ~0.7.2

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.2.2 (latest) — 2015-09-29
- 0.2.1 — 2015-09-16
- 0.2.0 — 2015-09-11
- 0.1.0 — 2015-09-09

## README

# corki-compiler

A front-end resource compiler and adapter.

## Usage

### Command

```shell
# styles
corkic -c -s -o output.css input.sass

# scripts
corkic -c -s -o output.min.js output.js
```

You can get more infomation by `corkic --help`

### Program

```js
var compile = require('corki-compiler')

compile('path/to/yourfile', { compress: true }, function (result) {
  // result as a output string
  // ...
})
```

## Support types

### html

- jade

### css

- less
- sass
- stylus
- autoprefixer

### js

- common.js module
- babel
- coffee

## Todos

- more test cases
- more resource types support
- better customization

---
_Source: https://npm.io/package/corki-compiler · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
