GithubHelp home page GithubHelp logo

crutches's Introduction

Crutches Build Status Docs Status Hex Version License

Utility library for Elixir, designed to complement the standard library bundled with the language. This project aims to provide extra functions that can be useful in most projects, but haven't made it into the standard library yet. Similar to and inspired by ActiveSupport.

Installation

You can get Crutches from Hex. Add the following to your mix.exs file and run mix deps.get afterwards:

defp deps do
  [{:crutches, "~> 1.0.0"}]
end

Usage

If you want to import all functions provided by Crutches, use it in your module:

defmodule Foo do
  use Crutches
end

The above aliases Crutches as C and Crutches.Format as F. All modules and functions in the library will be available to you. Take a look at the API reference for a list of modules.

If you only need a specific part of the library, you can import or alias it:

defmodule Bar do
  import Crutches.Option
  # Or:
  alias Crutches.Option
end

Again, refer to the API reference for a list of modules and functions that you can find in Crutches.

Project status, compatibility and versioning

Since v1.0.0 all APIs are stable and subject to semantic versioning.

We specifically test our code against the following combinations of Erlang/OTP and Elixir:

Erlang Elixir
18.0 1.0.5
18.0 1.1.0

Learn Elixir with us!

Crutches is a great for Elixir beginners to contribute to. We are writing convenience functions as an addition to the Elixir standard library, a lot of which are inspired by ActiveSupport (a similar project from the Ruby world).

The great thing about a utility library is that it is easy to contribute without having to know a lot about the entire codebase. You can easily add a new function in a vacuum, without having to know about the rest of the codebase. Furthermore, we provide a list of features to be implemented, complete with tests, so you can get started right away, even if you don't have any ideas.

We want to be a safe place for anyone to get started with Elixir or with contributing to an open source project. If you see anything that isn't proper in your eyes, then be sure to let one of the collaborators know!

Sounds good? Take a look at the contributing information to get started. If anything is unclear, or if you are unsure about something, feel free to contact one of the collaborators.

crutches's People

Contributors

austinschwartz avatar cyrusofeden avatar doomspork avatar druzn3k avatar duijf avatar eksperimental avatar janxious avatar jdl avatar jesuspc avatar joeyates avatar lpil avatar mayppong avatar mgwidmann avatar mykewould avatar paolodm avatar scrogson avatar stevensona avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.