Travis CI

fast_irc.cr

A fast IRC parsing library for crystal.

Docs

Installation

Add it to shard.yml

dependencies:
  fast_irc:
    github: RX14/fast_irc.cr

Usage

require "fast_irc"

message = FastIrc::Message.parse ":nick!user@host COMMAND arg1 arg2 :arg3 ;)"
message.command # => "COMMAND"
message.args    # => ["arg1", "arg2", "arg3 ;)"]
message.prefix  # => Prefix(@target="nick", @user="user", @host="host")

Development

TODO Write instructions for development

Contributing

  1. Fork it ( https://github.com/RX14/fast_irc/fork )
  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 a new Pull Request

Contributors