concealotron
v1.6.0
Published
concealotron helps you conceal an object. It takes an object and returns a copy that has all of the string fields truncated. This is useful for when you want to log an object but it contains sensitive ids, e.g. database fields or secrets. Non string field
Downloads
6
Maintainers
Readme
concealotron
Install
npm i -D concealotron
Usage
import objectConceal from "concealotron"
objectConceal() // true
License
MIT © Ed Sykes