@qiwi/masker-split
v2.0.1
Published
data masker splitter
Downloads
1,167
Readme
@qiwi/masker-split
Masker plugin to recursively process any kind of js objects
Install
yarn add @qiwi/masker-split
Usage
import {masker} from '@qiwi/masker'
import {pipe} from '@qiwi/masker-split'
masker.sync({foo: 'bar', baz: 'qux'}, {
pipeline: ['split', 'plain']
})
// result:
{
'***': '***',
'***(2)': '***'
}