poncho

A .env parser/loader improved for performance dotenv dotenv-parser dotenv-loader
0.1.1 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"

Donate

Poncho is a open source, collaboratively funded project. If you run a business and are using Poncho in a revenue-generating product, it would make business sense to sponsor Poncho development. Individual users are also welcome to make a one time donation if Totem has helped you in your work or personal projects.

You can donate via Paypal.

How to Contribute

Your contributions are always welcome! Please submit a pull request or create an issue to add a new question, bug or feature to the list.

All Contributors are on the wall.

You may also like

  • halite - Crystal HTTP Requests Client with a chainable REST API, built-in sessions and loggers.
  • totem - Load and parse a configuration file or string in JSON, YAML, dotenv formats.
  • markd - Yet another markdown parser built for speed, Compliant to CommonMark specification.
  • popcorn - Easy and Safe casting from one type to another.
  • fast-crystal - 💨 Writing Fast Crystal 😍 -- Collect Common Crystal idioms.

License

MIT License © icyleaf

poncho:
  github: icyleaf/poncho
  version: ~> 0.1.1
License MIT
Crystal 0.25.1

Authors

Dependencies 0

Development Dependencies 0

Dependents 1

Last synced .
search fire star recently