extract-valid
v1.1.1
Published
A library for extracting valid fields from object scheme
Downloads
10
Maintainers
Readme
extract-valid
A library for extracting valid fields from object scheme.
Install
npm install extract-valid
Usage
import { extractValid } from 'extract-valid'
const result = extractValid({
bar: void 0,
foo: "",
valid: "valid"
}, options)
console.log(result) // { valid: "valid" }
License
MIT