0.8.7 • Published 6 years ago

kotori v0.8.7

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Unmainted Kotori (ことり) :baby_chick:

No longer actively maintaining this project due to lack of motivation. This project and source code keep on GitHub and on npm, but no longer maintaining in my side.

Build Status Coverage Status

npm version MIT License David

Kotori is CSS optimize tool.

Kotori seamlessly integrates the better tools: CSSfmt, Autoprefixer and clean-css.

Installation

# global install
npm install -g kotori

# local install
npm install --save-dev kotori

Usage

in CLI

kotori <input> -o <output> <option>

example:

# single file
kotori src/main.css -o dist/main.css

# use glob definition in input
kotori src/*.css -o dist/

in Node.js module

const kotori = require('kotori');
kotori.source('path/to/*.css')
  .pipe(kotori.optimize({
    browsers: [ 'last 2 version', '> 5%' ],
    env: 'production'
  }))
  .pipe(kotori.output('path/to/css/'));

CLI options

namelong namedescription
---initSetup config file (.kotorirc)
-o--outputSpecify CSS file output path
-v--versionShow version
-h--helpShow help

Configuration

nametypedescriptiondefault value
browsersString[]browserslist queries.'last 2 version', '> 5%'
envStringif defined of "production" to minify CSS. "development" if it will not minify.'production'

Changelog

See Releases · kubosho/kotori.

License

The MIT License

Copyright (c) 2015-16 Shota Kubota

0.8.7

6 years ago

0.8.6

8 years ago

0.8.5

8 years ago

0.8.4

8 years ago

0.8.3

8 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

9 years ago

0.7.1

9 years ago

0.7.0

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.0

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago