@technically/omit-undefined
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@technically/omit-undefined

Test

@technically/omit-undefined is a micro-package to filter out undefined object properties.

Usage

import { omitUndefined } from '@technically/omit-undefined';

const result = omitUndefined({ x: undefined, y: 1 }); // { y: 1 }

Related packages

License

MIT

Credits

Authored by Ivan Voskoboinyk.

Readme

Keywords

Package Sidebar

Install

npm i @technically/omit-undefined

Weekly Downloads

88

Version

1.0.2

License

MIT

Unpacked Size

3.47 kB

Total Files

6

Last publish

Collaborators

  • e1npm