thanos-for-data

    1.0.1 • Public • Published

    Thanos for Data

    This library will remove the half of properties on a given object.

    Purpose

    This library was created for test purpose.

    With Thanos For Data, you can validate your tests to check if your code is ready do deal with incomplete payload.

    Usage

    import thanos from 'thanos-for-data';
    
    const myData = {
      name: 'Test',
      phone: '1234567',
      account: 1234,
      status: true,
    };
    
    const result = thanos(myData);
    
    console.log(result);

    output:

    {
      phone: '1234567',
      status: true,
    }

    Keywords

    Install

    npm i thanos-for-data

    DownloadsWeekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    14.9 kB

    Total Files

    19

    Last publish

    Collaborators

    • edgardleal