/sleep_parser

Parser for SLEEP protocol headers

Primary LanguageCrystalMIT LicenseMIT

SLEEP Parser

Read and write SLEEP protocol headers in crystal lang.

Inspiration taken from datrs' SLEEP parser

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  sleep_parser:
    github: caspiano/sleep_parser
  1. Run shards install

Usage

require "sleep_parser"

header = SleepParser::Header.from_io(some_io)

Contributors