Popularity
1.1
Growing
Activity
0.0
Stable
4
1
1

Monthly Downloads: 0
Programming language: Elixir
License: MIT License
Tags: Text And Numbers    

event_source_encoder alternatives and similar packages

Based on the "Text and Numbers" category.
Alternatively, view event_source_encoder alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of event_source_encoder or a related project?

Add another 'Text and Numbers' Package

README

Build Status

EventSourceEncoder

EventSourceEncoder is a Elixir library to encode data into EventSource compliant data.

Examples

iex> EventSourceEncoder.encode(1, "This is data")
"id: 1\\ndata: This is data\\n\\n"

iex> EventSourceEncoder.encode(1, "This is new data", :login)
"id: 1\\nevent: login\\ndata: This is new data\\n\\n"