hoplon

2.0.0 • Public • Published

npm install hoplon
// github            much install |
npm install sourcevault/hoplon#dist

Build Status Join the chat at https://gitter.im/sourcevault/hoplon

hoplon provides common utility functions for coders that make heavy use of pattern matching technique(s) in javascript.

Introduction

There are 3 namespaces that exists in hoplon :

var hoplon = require("hoplon")
hoplon.types
hoplon.guard
hoplon.utils

◾️ hoplon.types - immutable type validator that puts composability ( recursiveness ) and extensibility as it's core feature. It can also be used for validating json schemas.

◾️ hoplon.guard - functional guards (mutable & immutable), similar to what exists in Elixir / Erlang for graceful error handling.

◾️ hoplon.utils - exposes hoplon's internal utils, like Ramda and error-stack-parser, ( this way there are fewer direct dependencies ).

LICENCE

  • Code released under BSD-3-Clause.
  • Documentation and images released under CC BY-NC-ND 4.0.
  • details can be found here.

/hoplon/

    Package Sidebar

    Install

    npm i hoplon

    Weekly Downloads

    9

    Version

    2.0.0

    License

    BSD-3-Clause

    Unpacked Size

    133 kB

    Total Files

    16

    Last publish

    Collaborators

    • sourcevault