Socket
Socket
Sign inDemoInstall

eyepiece

Package Overview
Dependencies
0
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eyepiece

Eyepiece is a utility library inspired by functional optics.


Version published
Maintainers
1
Install size
6.05 kB
Created

Readme

Source

Eyepiece 🔭

WORK-IN-PROGRESS !!!

Eyepiece is a simple JavaScript/TypeScript utility library inspired by functional optics that focuses on manipulating nested 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:

get()

set()

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

Alternatives

Both shades and Optix are more feature-rich alternatives. However, Eyepiece is intentionally more narrow in scope. Originally, Eyepiece took some inspiration from shades both philosophically and syntactically. Nowadays Eyepiece also borrows from Optix.

License

MIT

Keywords

FAQs

Last updated on 14 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc