https://github.com/alessiobianchini/ng-pattern-mask
Angular library for input masks
https://github.com/alessiobianchini/ng-pattern-mask
angular date directive input mask ng pattern
Last synced: about 2 months ago
JSON representation
Angular library for input masks
- Host: GitHub
- URL: https://github.com/alessiobianchini/ng-pattern-mask
- Owner: alessiobianchini
- Created: 2023-03-20T16:19:11.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-22T16:35:44.000Z (over 3 years ago)
- Last Synced: 2025-12-15T11:49:17.900Z (7 months ago)
- Topics: angular, date, directive, input, mask, ng, pattern
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/ng-pattern-mask
- Size: 212 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
NgPatternMask
Angular library to mask input fields using a pattern.
---
## Status
[](https://github.com/alessiobianchini/ng-pattern-mask/actions/workflows/release-package-github.yml)
[](https://github.com/alessiobianchini/ng-pattern-mask/actions/workflows/release-package-npmjs.yml)
## Demo app
Run `ng serve` for a dev server with an example. Navigate to `http://localhost:4200/`.
## Install
`npm install ng-pattern-mask`
## Configuration
```javascript
import {NgPatternMaskModule} from 'ng-pattern-mask';
@NgModule({
imports: [
NgPatternMaskModule,
...
],
...
}) {...}
```
## Basic usage
```html
ngpmCharPlaceholders="_"
/>
```