Sha256: 6aa63b6065350a3ab7bbf6e521fed0b77b1a14ec254b115b241750881ebf239f

Contents?: true

Size: 879 Bytes

Versions: 2

Compression:

Stored size: 879 Bytes

Contents

# JSRegexp

[![Gem Version](https://badge.fury.io/rb/jsregexp.svg)](https://badge.fury.io/rb/jsregexp)
[![Build Status](https://travis-ci.org/lucerion/jsregexp.svg?branch=master)](https://travis-ci.org/lucerion/jsregexp)
[![Code Climate](https://codeclimate.com/github/lucerion/jsregexp/badges/gpa.svg)](https://codeclimate.com/github/lucerion/jsregexp)
[![Test Coverage](https://codeclimate.com/github/lucerion/jsregexp/badges/coverage.svg)](https://codeclimate.com/github/lucerion/jsregexp/coverage)

JSRegexp is a converter from Ruby Regexp to valid JavaScript RegExp format

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'jsregexp'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install jsregexp

## Usage

``` ruby
JSRegexp.convert(/\Ahello/) # => '^hello'
```

## License

[MIT](http://opensource.org/licenses/MIT)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jsregexp-0.1.2 README.md
jsregexp-0.1.1 README.md