Skip to content

Commit

Permalink
fixes misspelling repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
rodolfoviolac committed Apr 23, 2022
1 parent 8954e2b commit 1dfcac3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ yarn add blur-sensitive-data
## How to use

```typescript
import Obfuscator from 'blur-sentitive-data';
import Obfuscator from 'blur-sensitive-data';

const obf = new Obfuscator();
obf.blur("Credit Card Number 4024-0071-4571-8614");
Expand All @@ -40,7 +40,7 @@ obf.blur("Credit Card Number 4024-0071-4571-8614");
The library supports objects whether they are simple or deep, keyword scanning is done on the entire object, there is also a layer to remove circular dependency if it is present.

```typescript
import Obfuscator from 'blur-sentitive-data';
import Obfuscator from 'blur-sensitive-data';

const dirtyObjectData = {
Api_key: 'test string api_key',
Expand Down Expand Up @@ -89,7 +89,7 @@ const clearData = obf.blur(dirtyObjectData);
The library supports type string, in this case the obfuscation is done by matching the searched pattern, whether it is presented only in the sentence or multiple times, and can be in several differents formats and/or intertwined with other texts.

```typescript
import Obfuscator from 'blur-sentitive-data';
import Obfuscator from 'blur-sensitive-data';

const dirtyStringData = 'this is a string with Credit Card Number 4024-0071-4571-8614, CPF 222.222.222-22 with obfuscator';
const configObject = {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "blur-sentitive-data",
"name": "blur-sensitive-data",
"version": "1.0.0",
"description": "Library to blur sensitive data.",
"author": "Rodolfo Viola Carvalho",
Expand All @@ -22,7 +22,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/rodolfoviolac/blur-sentitive-data.git"
"url": "https://github.com/rodolfoviolac/blur-sensitive-data.git"
},
"dependencies": {
},
Expand Down

0 comments on commit 1dfcac3

Please sign in to comment.