dnull
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

dnull

Installation

npm install dnull

Usage

import { dnull } from "dnull";

const obj = {
  name: "john",
  address: {
    street: "john's street",
    number: null,
    tags: [1, 2, null, 4],
  },
};

typeof dnull(obj); // { name: "john", address: { street: "john's street", number: undefined, tags: [ 1, 2, undefined, 4 ] } }

Readme

Keywords

none

Package Sidebar

Install

npm i dnull

Weekly Downloads

813

Version

1.0.2

License

MIT

Unpacked Size

6.91 kB

Total Files

8

Last publish

Collaborators

  • brielov