Sha256: 44112b39f41e3b81e9841963b742ae14f9234a466a827c5fc7ab2844af4ffa89

Contents?: true

Size: 901 Bytes

Versions: 1

Compression:

Stored size: 901 Bytes

Contents

# CrxUnpack

[![Build Status](https://travis-ci.org/kyanny/crx_unpack.png)](https://travis-ci.org/kyanny/crx_unpack)

Unpack [Chrome extension (crx)](http://developer.chrome.com/extensions/crx.html) file

## Installation

Add this line to your application's Gemfile:

    gem 'crx_unpack'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install crx_unpack

## Usage

```ruby
require 'crx_unpack'

data = open('extension.crx', 'rb').read
crx = CrxUnpack.unpack(data)
crx.zip #=> zip data of extension contents

# unzip extension contents into `./extension' directory
CrxUnpack.unpack_contents_from_file('extension.crx', './extension')
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crx_unpack-0.0.1 README.md