Sha256: f553a676fd4e58cbf60cf707f9bdce2e6b65d6aff1dbd5ee55a424374705c84c

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

# Csscompress

Minify modern CSS with Ruby. Csscompress currently uses [CSSO](https://github.com/css/csso) via [ExecJS](https://github.com/rails/execjs).

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'csscompress'
```

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install csscompress

## Usage

```rb
require "csscompress"
minified_css_string = Csscompress.minify("/path/to/css/file")
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/domchristie/csscompress. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/domchristie/csscompress/blob/main/CODE_OF_CONDUCT.md).

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Code of Conduct

Everyone interacting in the Csscompress project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/domchristie/csscompress/blob/main/CODE_OF_CONDUCT.md).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csscompress-0.1.0 README.md