monocle-ts for Deno 🦕
monocle-ts is a library for functional optics in TypeScript.
Unfortunately monocle-ts is not available for Deno, because:
- monocle-ts's Gcanti does not want to support Deno (yet)
- Esm.sh keeps breaking and doesn't support all types (Jul 2022)
- Skypack fails to support fp-ts (Jul 2022)
This repo is the first working Deno port I am aware of. Feel free to open an issue here if you experience any problems.
fp-ts
for Deno is also available.
Note: This package is only available for version
monocle-ts@2.3.13
for now
import * as L from 'https://raw.githubusercontent.com/michaelhirn/monocle-ts/master/lib/Lens.ts'
- setup deno.land/x CI/CD