1.1.0 • Published 3 years ago

afilters.js v1.1.0

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

GitHub top language GitHub package.json dependency version (prod) Codecov GitHub code size in bytes GitHub


About

AFilters.js - Advanced Filters library to help you make you own filters.

Easy to use. Lightweight. User-friendly.

Usage

Node.js 12.0.0 or newer is required.

  1. Install package from npm: npm install afilters.js
  2. Add new filter to your code: const Filter = require('afilters.js');
  3. Use filters!

Example

const Filter = require('afilters.js');

new Filter({ filters: [(a, b) => a > b] }).try(1, 0).finally((a) => console.log(a));

Links

Website

1.1.0

3 years ago

1.0.0

3 years ago

0.1.0

3 years ago