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 ] } }

/dnull/

    Package Sidebar

    Install

    npm i dnull

    Weekly Downloads

    1,484

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    6.91 kB

    Total Files

    8

    Last publish

    Collaborators

    • brielov