fast_irc
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
- Fork it ( https://github.com/RX14/fast_irc/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- RX14 RX14 - creator, maintainer
- Kilobyte22 Stephan Henrichs - IRC serialisation, specs