https://github.com/sourcevault/nutzen
functional programming utils for pattern matching in JavaScript.
https://github.com/sourcevault/nutzen
Last synced: 23 days ago
JSON representation
functional programming utils for pattern matching in JavaScript.
- Host: GitHub
- URL: https://github.com/sourcevault/nutzen
- Owner: sourcevault
- License: bsd-3-clause
- Created: 2020-07-19T13:07:47.000Z (over 5 years ago)
- Default Branch: dev
- Last Pushed: 2023-06-28T15:23:15.000Z (over 2 years ago)
- Last Synced: 2026-01-18T14:19:20.893Z (26 days ago)
- Language: LiveScript
- Homepage:
- Size: 827 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: COPYING.txt
Awesome Lists containing this project
README

```js
npm install nutzen
// github much install |
npm install sourcevault/nutzen#dist
```
`nutzen` 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 `nutzen` :
```js
var nutzen = require("nutzen")
nutzen.types
nutzen.guard
nutzen.utils
```
◾️ [`nutzen.types`](docs/types.md) - immutable type validator that puts composability ( recursiveness ) and extensibility as it's core feature. It can also be used for validating `json` schemas.
◾️ [`nutzen.guard`](docs/guard.md) - functional guards (mutable & immutable), similar to what exists in Elixir / Erlang for graceful error handling.
◾️ [`nutzen.utils`](docs/utils.md) - exposes `nutzen`'s internal utils, like [`Ramda`](https://github.com/ramda/ramda) and [`error-stack-parser`](https://github.com/stacktracejs/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](https://github.com/sourcevault/nutzen/blob/dev/COPYING.txt).