Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/valve/tsrc
- Owner: Valve
- License: apache-2.0
- Created: 2017-02-08T22:33:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-02-08T22:39:12.000Z (over 7 years ago)
- Last Synced: 2024-10-11T20:16:07.922Z (27 days ago)
- Topics: ruby, ruby-gem, source, typescript
- Language: JavaScript
- Homepage:
- Size: 1.17 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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