@alan-liang/qw

0.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @alan-liang/qw

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

2.7 kB

Total Files

4

Last publish

Collaborators

  • alan-liang