Normally Palatable Mango

    eyepiece
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.0 • Public • Published

    Eyepiece 🔭

    WORK-IN-PROGRESS !!!

    Eyepiece is a JavaScript/TypeScript utility library inspired by functional optics that focuses on pinpoint processing of data within objects/arrays. It can be used generally but was designed with Hyperapp usage in mind.

    // 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:

    Guide

    // TODO:

    API Reference

    // TODO:

    eye()

    get()

    has()

    isKey()

    set()

    Since functions within a focus path will get executed many path construction possibilities.

    Alternatives

    • Eyepiece takes some inspiration from shades both philosophically and syntactically.

    • Optix is a more feature-rich alternative. However, Eyepiece is intentionally limited in scope.

    License

    MIT

    Keywords

    Install

    npm i eyepiece

    DownloadsWeekly Downloads

    5

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    8.92 kB

    Total Files

    6

    Last publish

    Collaborators

    • icylace