# text-masking-tool

> Text Masking Tool for JS/TS/React

Latest version **1.0.1** (published 2023-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install text-masking-tool
pnpm add text-masking-tool
yarn add text-masking-tool
bun add text-masking-tool
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-06-22 |
| First published | 2023-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | prunusnira |
| Maintainers | prunusnira |
| Keywords | react, masking, text masking |

## Links

- npm: https://www.npmjs.com/package/text-masking-tool
- Repository: https://github.com/prunusnira/textMaskingTool
- Homepage: https://github.com/prunusnira/textMaskingTool#readme
- Issues: https://github.com/prunusnira/textMaskingTool/issues
- npm.io page: https://npm.io/package/text-masking-tool

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2023-06-22
- 1.0.0 — 2023-06-22

## README

# textMaskingTool
## Text Masking Tool for JS/TS
* Simple to use

```TypeScript
// for React
import useMask from 'text-masking-tool';

const { mask } = useMask();
mask('LoremIpsum', 'left', 3); // Lor*******
mask('LoremIpsum', 'right', 3); // *******sum
mask('LoremIpsum', 'left', 3, '.'); // Lor.......

// for TS
import maskText from 'text-masking-tool';

maskText('LoremIpsum', 'left', 3); // Lor*******
maskText('LoremIpsum', 'right', 3); // *******sum
maskText('LoremIpsum', 'left', 3, '.'); // Lor.......
```

---
_Source: https://npm.io/package/text-masking-tool · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
