tn-filterobj
v2.1.0
Published
<p align="center"><i>Bundle Size - 650 bytes gzipped</i></p>
Downloads
0
Readme
Usage
import { filterobj } from 'tn-filterobj'
const object = { ... }
const filtered = filterobj(object, ({ key, value }) => {
if (!key.match(/^turnova/)) return false
if (value < 0 || value > 100) return false
return true
})