0.2.178 • Published 2 months ago

@earnest-labs/ts-sensitivestring v0.2.178

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

ts-sensitivestring

A simple type that won’t accidentally leak secrets if you log out objects containing it.

Install

npm i --save @earnest-labs/ts-sensitivestring

Use

import SensitiveString from '@earnest-labs/ts-sensitivestring';

const ss = new SensitiveString("foo")
console.log("This won't leak the value of ss:", ss)
console.log("This _will_ leak the value of ss:", ss.getValue())
0.2.159

2 months ago

0.2.178

2 months ago

0.2.167

2 months ago

0.2.176

2 months ago

0.2.163

2 months ago

0.2.173

2 months ago

0.2.171

2 months ago

0.2.104

8 months ago

0.2.90

8 months ago

0.2.101

8 months ago

0.2.47

10 months ago

0.2.87

8 months ago

0.2.97

8 months ago

0.1.26

11 months ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago