1.0.10 • Published 2 years ago

star-mask v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Masks the input field strings with stars, even can't see by inspecting dom and change input type from password to text.

get value by using callback function called "getVal"


Install npm i star-mask


Example:


import React from "react";

import StarMask from "star-mask";

function App() {

const inVal, setInVal = React.useState("");

return (

<div className="App">
  <StarMask getVal={(val)=>setInVal(val)}/>
</div>

); }

export default App;


1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago