1.3.1 • Published 3 months ago

remove-sensible-values v1.3.1

Weekly downloads
724
License
BSD-2-Clause
Repository
github
Last release
3 months ago

npm License Typed with TypeScript bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

remove-sensible-values

remove sensible values from an object tree

import { removeSensibleValues } from "remove-sensible-values";

console.log(removeSensibleValues({password : "secret", other: "present" }));
{"password" : "...", "other": "present" }

API

Table of Contents

removeSensibleValues

generates a new object tree by removing sensible values like credentials from the given one

Parameters

  • object Object source
  • toBeRemoved (optional, default key=>key.match(/pass|auth|key|user|secret|token/i))

Returns Object object tree hopefully free of sensible data

install

With npm do:

npm install remove-sensible-values

license

BSD-2-Clause

1.3.1

3 months ago

1.3.0

3 months ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.11

2 years ago

1.0.12

2 years ago

1.0.10

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago