open-index/open-npm huggingface dataset:
npm package: @js-omar/core
Description: Core Project
Author: Omar Elsayed
Latest version: 1.2.0

# Core

Core Project

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install @js-omar/core.

```bash
npm install @js-omar/core
```

## Usage

```typescript
import {
  isUnAuthorizedStatus,
  getRandInt,
  isValidTokenFormat,
  isValidSlug,
} from '@js-omar/core';

console.log(isUnAuthorizedStatus(200)); // false
console.log(isUnAuthorizedStatus(403)); // true

console.log(getRandInt(20, 30)); // 22
console.log(getRandInt(20, -30)); // 4

console.log(isValidTokenFormat('21321.2323.232')); // true
console.log(isValidTokenFormat('omar')); // false

console.log(isValidSlug('new-slug-name-34')); // true
console.log(isValidSlug('-@)kad>.')); // false
```

## Development

To run this project in development use

Clone the project

```bash
  git clone https://github.com/js-omar/core.git
```

Install Packages

```bash
  npm install
```

Start the server

```bash
  npm run start
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Authors

- [@omar-elsayed](https://github.com/omar-elsayed97)

## Hi, I'm Omar Elsayed! 👋

I'm a full stack javascript developer...

## 🛠 Skills

Typescript, Javascript, Angular, Ionic, Nest.js, Node.js, HTML, CSS...

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Feedback

If you have any feedback, please reach out to us at challengeromar97@gmail.com
npm package: @js-omar/create-ts-app
Description: Create Ts App Project
Author: Omar Elsayed
Latest version: 3.6.3

# Create Ts App

Create Ts App Project

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install @js-omar/create-ts-app.

```bash
npm install @js-omar/create-ts-app -g
```

## Usage

```bash
npx @js-omar/create-ts-app <project-name>
```

## Development

To run this project in development use

Clone the project

```bash
  git clone https://github.com/js-omar/create-ts-app.git
```

Install Packages

```bash
  npm install
```

Start the server

```bash
  npm run start
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Authors

- [@omar-elsayed](https://github.com/omar-elsayed97)

## Hi, I'm Omar Elsayed! 👋

I'm a full stack javascript developer...

## 🛠 Skills

Typescript, Javascript, Angular, Ionic, Nest.js, Node.js, HTML, CSS...

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Feedback

If you have any feedback, please reach out to us at challengeromar97@gmail.com
npm package: @js-omar/dotnet-missing-translations
Description: Dotnet Missing Translations Project
Author: Omar Elsayed
Latest version: 1.0.0

# Dotnet Missing Translations

Dotnet Missing Translations Project

## Usage

```bash
npx @js-omar/dotnet-missing-translations
```

## Development

To run this project in development use

Clone the project

```bash
  git clone https://github.com/js-omar/dotnet-missing-translations.git
```

Install Packages

```bash
  npm install
```

Start the server

```bash
  npm run start
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Authors

- [@omar-elsayed](https://github.com/omar-elsayed97)

## Hi, I'm Omar Elsayed! 👋

I'm a full stack javascript developer...

## 🛠 Skills

Typescript, Javascript, Angular, Ionic, Nest.js, Node.js, HTML, CSS...

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Feedback

If you have any feedback, please reach out to us at challengeromar97@gmail.com
npm package: @js-omar/eslint-config
Description: Eslint Config Project
Author: Omar Elsayed
Latest version: 1.19.0

# Eslint Config

Eslint Config Project

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install @js-omar/eslint-config as dev dependencies.

```bash
npm i -D @js-omar/eslint-config
```

## Usage

.eslintrc.js

```js
module.exports = {
  extends: ['@js-omar/eslint-config/.eslintrc.base.js'],
  overrides: [
    {
      files: ['*.js'],
      extends: ['@js-omar/eslint-config/.eslintrc.javascript.js'],
    },
    {
      files: ['*.ts'],
      extends: ['@js-omar/eslint-config/.eslintrc.typescript.js'],
      parserOptions: {
        tsconfigRootDir: __dirname,
        project: ['./tsconfig.*.json', './{apps,libs}/*/*/tsconfig.*.json'],
      },
    },
  ],
};
```

## Development

To run this project in development use

Clone the project

```bash
  git clone https://github.com/js-omar/eslint-config.git
```

Install Packages

```bash
  npm install
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Authors

- [@omar-elsayed](https://github.com/omar-elsayed97)

## Hi, I'm Omar Elsayed! 👋

I'm a full stack javascript developer...

## 🛠 Skills

Typescript, Javascript, Angular, Ionic, Nest.js, Node.js, HTML, CSS...

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Feedback

If you have any feedback, please reach out to us at challengeromar97@gmail.com
npm package: @js-omar/node
Description: Node Project
Author: Omar Elsayed
Latest version: 1.0.1

# Node

Node Project

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install @js-omar/node.

```bash
npm install @js-omar/node
```

## Usage

```typescript
import { execute } from '@js-omar/node';

const statement = 'echo "Hello World!"';
await execute(statement);

const statements = ['sleep 1', 'echo "Hello World!"'];
await execute(statements);
```

## Development

To run this project in development use

Clone the project

```bash
  git clone https://github.com/js-omar/node.git
```

Install Packages

```bash
  npm install
```

Start the server

```bash
  npm run start
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Authors

- [@omar-elsayed](https://github.com/omar-elsayed97)

## Hi, I'm Omar Elsayed! 👋

I'm a full stack javascript developer...

## 🛠 Skills

Typescript, Javascript, Angular, Ionic, Nest.js, Node.js, HTML, CSS...

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Feedback

If you have any feedback, please reach out to us at challengeromar97@gmail.com
npm package: @js-omar/prettier-config
Description: shared prettier configurations
Author: Omar Elsayed
Latest version: 1.1.0

# Prettier Config

Prettier Config Project

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install @js-omar/prettier-config as dev dependencies.

```bash
npm i -D @js-omar/prettier-config
```

## Usage

package.json

```json
{
  "prettier": "@js-omar/prettier-config"
}
```

## Development

To run this project in development use

Clone the project

```bash
  git clone https://github.com/js-omar/prettier-config.git
```

Install Packages

```bash
  npm install
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Authors

- [@omar-elsayed](https://github.com/omar-elsayed97)

## Hi, I'm Omar Elsayed! 👋

I'm a full stack javascript developer...

## 🛠 Skills

Typescript, Javascript, Angular, Ionic, Nest.js, Node.js, HTML, CSS...

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Feedback

If you have any feedback, please reach out to us at challengeromar97@gmail.com
npm package: @js-omar/stylelint-config
Description: Shared stylelint config
Author: Omar Elsayed
Latest version: 1.2.0

# Eslint Config

Eslint Config Project

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install @js-omar/stylelint-config as dev dependencies.

```bash
npm i -D @js-omar/stylelint-config
```

## Usage

.stylelintrc.json

```json
{
  "extends": ["@js-omar/stylelint-config"]
}
```

## Development

To run this project in development use

Clone the project

```bash
  git clone https://github.com/js-omar/stylelint-config.git
```

Install Packages

```bash
  npm install
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Authors

- [@omar-elsayed](https://github.com/omar-elsayed97)

## Hi, I'm Omar Elsayed! 👋

I'm a full stack javascript developer...

## 🛠 Skills

Typescript, Javascript, Angular, Ionic, Nest.js, Node.js, HTML, CSS...

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Feedback

If you have any feedback, please reach out to us at challengeromar97@gmail.com
npm package: @js-omar/web
Description: my javascript web functions packages
Author: Omar Elsayed
Latest version: 1.0.0

# Omar Javascript Web

my javascript web functions packages

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install @js-omar/web.

```bash
npm install @js-omar/web
```

## Usage

```typescript
import { PasswordToggler } from '@js-omar/web';

// Default Option
PasswordToggler.init();
```

## Development

To run this project in development use

Clone the project

```bash
  git clone https://github.com/js-omar/web.git
```

Install Packages

```bash
  npm install
```

Start the server

```bash
  npm run start
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## Authors

- [@omar-elsayed](https://github.com/omar-elsayed97)

## Hi, I'm Omar Elsayed! 👋

I'm a full stack javascript developer...

## 🛠 Skills

Typescript, Javascript, Angular, Ionic, Nest.js, Node.js, HTML, CSS...

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Feedback

If you have any feedback, please reach out to us at challengeromar97@gmail.com
npm package: @js-pack/i18n-react
Description: easy-to-use translation library
Latest version: 1.1.0

# @js-pack/i18n-react

react wrapper of [@js-pack/i18n](https://github.com/js-pack/i18n)

## Install

```
npm i @js-pack/i18n-react
```

## Usage

App.js
```jsx
import { I18nProvider } from '@js-pack/i18n-react';
const supportedLocales = ['tr-TR', 'en-US'];

const App = () => {

  const [locale, setLocale] = useState();
  const [resourceMap, setResourceMap] = useState();

  useEffect(() => {
    setResourceMap({
      'en-US': {
        'Selam!': 'Hello!',
      },
    });
  }, []);

  return (
    <I18nProvider
      supportedLocales={supportedLocales}
      locale={locale}
      defaultLocale="tr-TR"
      resourceMap={resourceMap}
      onLoad={(loadedLocale) => {
        setLocale(loadedLocale);
      }}>
    {/* ... App */}  
    </I18nProvider>
  );
};
```

Page.js

```jsx
import { useTranslation } from '@js-pack/i18n-react';

const PageComponent = ()=>{
  const { t } = useTranslation();
  
  return <div>{t('Selam!')}</div>
}
```