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

1.0.0 • Public • Published

serialize-killer

npm

serialize-killer will make your objects unserializable.

You might want to use this if you have sensitive data that you don't want to accidentally get leaked over the wire.

Installation

Yarn

yarn add serialize-killer

npm

npm install serialize-killer

Usage

import { unserializable } from 'serialize-killer';

JSON.stringify({
  sanity: unserializable(),
  ssn: '555-55-5555',
  creditCard: '4242 4242 4242 4242',
});

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i serialize-killer

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    112 kB

    Total Files

    23

    Last publish

    Collaborators

    • maxdeviant