Using npm
npm i --save @segmentstream/utils
or using yarn
yarn add @segmentstream/utils
import cleanObject from '@segmentstream/utils/cleanObject'
const cleanedObject = cleanObject({ a: undefined, b: null, c: 'value' }) // { c: 'value'}
Execute npm test
for run unit test!