poncho

A .env parser/loader improved for performance dotenv dotenv-parser dotenv-loader
0.1.0 released
icyleaf/poncho
29 2 1
icyleaf

poncho-logo

Poncho

Language Tag Build Status

A .env parser/loader improved for performance. Poncho Icon by lastspark from Noun Project.

Installation

Add this to your application's shard.yml:

dependencies:
  poncho:
    github: icyleaf/poncho

Usage

require "poncho"

Parse dotenv

poncho = Poncho.from_file ".env"
# or
poncho = Poncho.parse "PONCHO_ENV=development"

poncho["PONCHO_ENV"] # => "development"

Contributing

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

  • icyleaf icyleaf - creator, maintainer
poncho:
  github: icyleaf/poncho
  version: ~> 0.1.0
License MIT
Crystal 0.25.1

Authors

Dependencies 0

Development Dependencies 0

Dependents 1

Last synced .
search fire star recently