dcousens

dcousens/blacklist

A module that shallow copies an object, ignoring keys depending on the filter object passed to it.

JavaScript
32
3
MIT License

This JavaScript library provides a simple way to create a shallow copy of an object while excluding specified keys. It's designed for developers who need to filter out unwanted properties from objects, offering both string and object-based filtering options. However, it's recommended to use ESNext destructuring assignment instead when possible, as it provides a more modern and efficient solution for this common task.

Total donated
Undistributed
Share with your subscribers: