https://github.com/henrik/shameless_plug
A novelty Elixir Plug to remove the word "shame" from the page body.
https://github.com/henrik/shameless_plug
elixir-plug novelty plug
Last synced: about 1 month ago
JSON representation
A novelty Elixir Plug to remove the word "shame" from the page body.
- Host: GitHub
- URL: https://github.com/henrik/shameless_plug
- Owner: henrik
- Created: 2015-11-20T22:46:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-20T22:52:58.000Z (over 10 years ago)
- Last Synced: 2025-10-21T16:46:36.663Z (5 months ago)
- Topics: elixir-plug, novelty, plug
- Language: Elixir
- Size: 3.91 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShamelessPlug
A novelty [Elixir Plug](https://github.com/elixir-lang/plug) to remove the word "shame" from the page body.
## Usage
Add to your list of dependencies in `mix.exs`:
``` elixir
def deps do
[
{:shameless_plug, "> 0.0.0"},
]
end
```
Then just
``` elixir
plug ShamelessPlug
```
like any other plug. You probably want it late in the pipeline (after assigning a body), but before actually sending the response.
## Development
mix deps.get
mix test
## Credits and license
By Henrik Nyh 2015-11-20 under the MIT license.