Popularity
4.4
Declining
Activity
2.1
Declining
4
2
17

Monthly Downloads: 61
Programming language: Elixir
License: MIT License
Tags: BSON    
Latest version: v0.5.1

cyanide alternatives and similar packages

Based on the "BSON" category

  • BSONMap

    Elixir package that applies a function to each document in a BSON file and has a low memory consumption.

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

Add another 'BSON' Package

README

Cyanide

Cyanide is a BSON library for Elixir.

Installation

The package can be installed by adding cyanide to your list of dependencies in mix.exs:

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

Usage

Cyanide.encode(%{"value" => 42})
#=> {:ok, <<16, 0, 0, 0, 16, 118, 97, 108, 117, 101, 0, 42, 0, 0, 0, 0>>}

Cyanide.decode(<<16, 0, 0, 0, 16, 118, 97, 108, 117, 101, 0, 42, 0, 0, 0, 0>>)
#=> {:ok, %{"value" => 42}}