Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 450 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 450 Bytes

flaneur

Tell the flaneur where you'd like to go, and there the flaneur will take you.

Installation

yarn add @standard-library/flaneur

Usage

import flâneur from "@standard-library/flaneur";

const scrollY = K.fromEvents(window, "scroll").map(() => window.scrollTop);
const flânerie = flâneur({}, scrollY);

const interestingThings = K.sequentially(1000, [450, 100, 1000]);

flânerie.regard(interestingThings);