eyepiece

eyepiece is a utility library inspired by functional optics.

Usage no npm install needed!

<script type="module">
  import eyepiece from 'https://cdn.skypack.dev/eyepiece';
</script>

README

WORK-IN-PROGRESS !!!

Eyepiece

Eyepiece is a JavaScript/TypeScript utility library inspired by functional optics that focuses on pinpoint processing of data within objects/arrays. It was specifically designed for projects that work with some sort of unified state or other centralized data object. For example, an application built using Hyperapp.

// TODO:

Here's an introductory example using TypeScript:

// introductory example thingy

Yeah But Why?

// TODO:

If we want to immutably update an object...

Installation

// TODO:

API

// TODO:

Shout-outs

Eyepiece takes some inspiration from shades both philosophically and syntactically.