0.0.6 • Published 5 years ago

@lyo/pampy v0.0.6

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@lyo/pampy

A browser-compatible version of pampy built automatically with Lyo.

Version Build Hits

Usage

In a browser

<script src="https://cdn.jsdelivr.net/npm/@lyo/pampy"></script>

<script>
  pampy.matchValue(foo, bar);
  pampy.matchArray(foo, bar);
  pampy.matchDict(foo, bar);
  pampy.match(foo);
  pampy.matchAll(foo);
  pampy.matchPairs(foo);
  pampy.zipLongest(foo, bar);
</script>

In Node.js

# Install
npm i @lyo/pampy
const pampy = require('@lyo/pampy')

pampy.matchValue(foo, bar);
pampy.matchArray(foo, bar);
pampy.matchDict(foo, bar);
pampy.match(foo);
pampy.matchAll(foo);
pampy.matchPairs(foo);
pampy.zipLongest(foo, bar);

Disclaimer

This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.

Use at your own risk

0.0.6

5 years ago