open-index/open-npm huggingface dataset:
npm package: @lmaos/ngx-markjs
Description: This is a Angular 13 Wrapper for [Mark.js](https://markjs.io/).
Latest version: 0.0.2

# ngx-markjs

This is a Angular 13 Wrapper for [Mark.js](https://markjs.io/).

## How to Use

Install the NPM package:

> $ npm i @lmaos/ngx-markjs

Add the following to your `tsconfig`

```json
{
	...
  	"compilerOptions": {
		...
		"allowSyntheticDefaultImports": true,
		...
	}
	...
}
```

Import the Module into your project:

```typescript
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { NgxMarkjsModule } from '@lmaos/ngx-markjs'; // Add this

@NgModule({
	declarations: [AppComponent],
	imports: [
		BrowserModule,
		AppRoutingModule,
		NgxMarkjsModule, // Add this
	],
	providers: [],
	bootstrap: [AppComponent],
})
export class AppModule {}
```

## Usage

start using the library via implementing the directive:

```typescript
<div class="card-container"
markjsHighlight //add the directive to your div
[markjsConfig]={}
[markjsHighlight]="filteredText">Test Text</div>
```

or via the `MarkjsHighlight` class

```typescript

import { MarkjsHighlight } from '@lmaos/ngx-markjs';
...
MarkjsHighlight.mark(this.testCard.nativeElement, 'ngx');
```

Find a minimal example at the [demo Repository](https://github.com/lmaos-txt/ngx-markjs-demo).
npm package: @lmappdev/lmutility
Description: ### List of validator directives and pipes - DateOfBirthValidator,  - EmailValidator,  - LimitToDirective,  - NoPOBoxValidator,  - NumberOnlyDirective,  - PhoneValidator,  - PositiveIntegerValidator,  - SsnValidator,  - TouchedDirtyWithErrorsDirective,  -
Latest version: 0.0.7

# This is an angular library for commonly used directives and pipes

### List of validator directives and pipes
- DateOfBirthValidator, 
- EmailValidator, 
- LimitToDirective, 
- NoPOBoxValidator, 
- NumberOnlyDirective, 
- PhoneValidator, 
- PositiveIntegerValidator, 
- SsnValidator, 
- TouchedDirtyWithErrorsDirective, 
- YearMonthValidator,
- ValidationMessagePipe,
- ZeroToXNumber

### Example on how to use NumberOnlyDirective, LimitToDirective, TouchedDirtyWithErrorsDirective, ValidationMessagePipe
    <mat-form-field>
        <mat-label>Zip</mat-label>
        <input type="text" name="zipCode" placeholder="Zip" #zipCodeModel="ngModel" NumberOnly="true" limit-to="5" matInput required />
        <mat-error *touchedWithErrors="zipCodeModel">
            {{ zipCodeModel | validationMessage: { 'required': 'Zip Code is not specified.'} }}
        </mat-error>
    </mat-form-field>