/ex_unpoly

Plug adapter for Unpoly, the unobtrusive JavaScript framework

Primary LanguageElixirMIT LicenseMIT

ex_unpoly

Build Status Hex.pm

A Plug adapter and helpers for Unpoly, the unobtrusive JavaScript framework.

Installation

To use Unpoly, you can add it to your application's dependencies.

def deps do
  [
    {:ex_unpoly, "~> 1.0"}
  ]
end

Usage

You can use the plug within your pipeline.

defmodule MyApp.Endpoint do
  plug Logger
  plug Unpoly
  plug MyApp.Router
end

To find out more, head to the online documentation.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Clone the repository and run mix test. To generate docs, run mix docs.

Credits

As it's just a simple port of Ruby to Elixir. All credits should go to the Unpoly team and their unpoly gem.

License

The MIT License (MIT). Please see License File for more information.