Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qw

Warning: experimental, uses Proxy which is not polyfillable.

Data pipeline utility.

Install

npm install @alan-liang/qw

Usage

import { qw } from '@alan-liang/qw'

qw(Array(16))
  .fill(0)
  .map((_, i) => i)
  .reduce((a, b) => a + b)
  ._(x => x / 2)
  ._.log() // logs 60
  ._.value // => 60

See example.js for detailed usage.

Releases

Contributors

Languages