Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/valve/tsrc

TypeScript source files packaged in a Ruby gem
https://github.com/valve/tsrc

ruby ruby-gem source typescript

Last synced: 3 days ago
JSON representation

TypeScript source files packaged in a Ruby gem

Awesome Lists containing this project

README

        

[![Gem Version](https://badge.fury.io/rb/tsrc.svg)](https://badge.fury.io/rb/tsrc)

TypeScript source files in a Ruby gem.

## Installation

Add this line to your application's `Gemfile`:

gem 'tsrc'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tsrc

## Usage

```ruby
require 'tsrc'

p TypeScript::Src.tsc_path # => #
p TypeScript::Src.js_path # => #
p TypeScript::Src.version # => "1.4.1.3"
```

## Contributing

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