open-index/open-npm huggingface dataset:
npm package: @js-gamifications/word-search-angular
Description: Angular bindings for word search puzzles
Latest version: 1.0.2

# @js-gamifications/word-search-angular

Angular adapter for the word search core package.

## Install

```bash
npm i @js-gamifications/word-search-angular
```

`@js-gamifications/word-search-core` is installed automatically as a dependency.

## Usage

```ts
import { Component } from "@angular/core";
import { WordSearchComponent } from "@js-gamifications/word-search-angular";

@Component({
  selector: "app-root",
  standalone: true,
  imports: [WordSearchComponent],
  template: `
    <js-gamifications-word-search
      [rows]="10"
      [cols]="10"
      [words]="['angular', 'signals', 'components']"
      [allowDiagonal]="true"
    />
  `
})
export class AppComponent {}
```
npm package: @js-gamifications/word-search-core
Description: Framework-agnostic word search engine
Latest version: 1.0.2

# @js-gamifications/word-search-core

Framework-agnostic engine for generating word search puzzles.

## Install

```bash
npm i @js-gamifications/word-search-core
```

## Usage

```ts
import { createWordSearch } from "@js-gamifications/word-search-core";

const puzzle = createWordSearch({
  rows: 12,
  cols: 12,
  words: ["react", "angular", "typescript"],
  allowDiagonal: true
});
```
npm package: @js-gamifications/word-search-react
Description: React components for word search puzzles
Latest version: 1.0.2

# @js-gamifications/word-search-react

React adapter for the word search core package.

## Install

```bash
npm i @js-gamifications/word-search-react
```

`@js-gamifications/word-search-core` is installed automatically as a dependency.

## Usage

```tsx
import { WordSearchBoard } from "@js-gamifications/word-search-react";

export function App() {
  return (
    <WordSearchBoard
      rows={10}
      cols={10}
      words={["react", "hooks", "state"]}
      allowDiagonal
    />
  );
}
```
npm package: @js-genie/email-parser
Description: A javascript utility package to parse email addresses
Author: Bala Sundeep Krishna Dasari
Latest version: 1.0.0

# @js-genie/email-parser
A javascript utility package to parse email addresses

# Installation
```shell
npm i --save @js-genie/email-parser
```

### Email Parser

```javascript
const { isValid, getUsername, getDomain } = require('@js-genie/email-parser');

isValidEmail = isValid('testuser1@testmail.com'); // returns true
isValidEmail = isValid('test.user_qwe@testmail.com'); // returns true
isValidEmail = isValid('{key : text@testemail.com}'); // returns false
isValidEmail = isValid('testuser1@testmail.com'); // returns false

username = getUsername("{}teststring"); // returns ''
username = getUsername({key: 'testemail@test.com'}); // returns ''
username = getUsername("testemail@test.com"); // returns 'testemail'

domain = getDomain("{}teststring"); // returns ''
domain = getDomain({key: 'testemail@test.com'}); // returns ''
domain = getDomain("testemail@test.com"); // returns 'test.com'
```

- `isValid()` function is used to check if the input is a valid email address or not.
- `getUsername()` function is used to get the username part of the input email address.
- `getDomain()` function is used to get the domain part of the input email address.
-  If the `typeof` input email address is not string or the input email is not valid, an empty value is returned.