package

github.com/gemmaro/nsplist

0.1.1 / published Apr 9, 2024 / repository

nsplist is a Crystal library for parsing the old-style ASCII property lists.

nsplist

GitHub release

Old-style ASCII property lists parser.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      nsplist:
        github: gemmaro/nsplist
  2. Run shards install

Usage

require "nsplist"

NSPlist.parse(source) #=> property list data

Development

crystal spec for testing, and crystal docs to generate an API documentation.

Contributing

  1. Fork it (https://github.com/gemmaro/nsplist/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

There are several related works on the property list parsing. For parsing the property lists in the XML format, there is a plist-cr libarry.

Contributors

API

  • NSPlist

    Old-style ASCII property lists parser.