dot-notes alternatives and similar packages
Based on the "Utilities" category.
Alternatively, view dot-notes alternatives based on common mentions on social networks and blogs.
-
quark
A library for common functional programming idioms: combinators, currying, and partial application. -
crutches
Utility library for Elixir, designed to complement the standard library bundled with the language. -
plasm
Plasm is Ecto's composable query multitool, containing higher-level functions such as .count, .random, .first, .last, .find, .inserted_before, .inserted_after, etc. -
pubsub
A Publish-Subscribe utility library that implements a pub-sub mechanism to ease the burden of communication on the business logic processes. -
erlsh
Family of functions and ports involving interacting with the system shell, paths and external programs. -
uef-lib
Useful Erlang Functions Library that provides modules for manipulating lists, binaries, maps, numbers, date and time. It contains some functions optimized for performance in specific cases (e.g. for file I/O operations or binary transformations).
Get performance insights in less than 4 minutes
Do you think we are missing an alternative of dot-notes or a related project?
README
dot-notes-elixir
This library is an Elixir port of dot-notes to work with Elixir Maps/Lists. The interface is the same, but please check out the Hexdocs for example usage.
Currently this library is only v1.0.0 but implements the same behaviour at v3.1 of the main JavaScript library. At some point in future there are plans to align all ports and make a specification in order to detail new features more easily.
Installation
dot-notes-elixir is available on Hex. You can install the package via:
Add dot-notes-elixir to your list of dependencies in
mix.exs
:def deps do [{:dot_notes, "~> 1.0.0"}] end
Differences to the JavaScript API
For the most part the API is the same, with minor differences due to Elixir's different types. One major difference is the addition of DotNotes.reduce/4
which allows an accumulator alongside a DotNotes.recurse/3
call. This is due to the fact that Elixir uses reductions to maintain state through recursion whereas in JavaScript you could just mutate variables from an outer scope.
Contributing and Testing
If you wish to contribute (awesome!), please file an issue in the main dot-notes repo, as this is just a port (unless it's a bug in this library). All PRs should pass the Travis build and maintain 100% test coverage.
These tests can be run as follows:
$ mix test
$ mix coveralls
$ mix coveralls.html && open cover/excoveralls.html