open-index/open-npm huggingface dataset:
npm package: @je-es/ansi
Description: A robust and standardized solution for handling `ANSI escape sequences` in your applications.
Author: Maysara Elshewehy
Latest version: 1.1.4

# [@je-es](https://github.com/je-es)/ansi

> This repository provides a robust and standardized solution for handling **ANSI escape sequences** in your applications.
>
> **ANSI escape sequences** are used to control text formatting, color, and other output options on text terminals.
>
> This library simplifies the process of incorporating these sequences, ensuring consistent behavior across different environments.

- #### 📥 Usage

    ```Bash
    npm i @je-es/ansi
    ```

- #### 🌟 Syntax

    ```ts
    import { style } from '@je-es/ansi';

    style('Hello World',
    {
        fg      ?: string('name' | '#hex') | array[r,g,b],
        bg      ?: string('name' | '#hex') | array[r,g,b],
        attr    ?: string | string []
    })
    ```

---

### Documentation

  - [API](./src/docs/src/api.md)

---

> **Made with ❤ by [Maysara Elshewehy](https://github.com/Maysara-Elshewehy)**
npm package: @je-es/electron
Description: A robust and standardized solution for creating a Desktop applications.
Author: Maysara Elshewehy
Latest version: 0.0.5

# [@je-es](https://github.com/je-es)/electron

> A robust and standardized solution for creating a Desktop applications.

- #### 📥 Usage

    ```Bash
    npm i @je-es/electron
    ```

- #### 🌟 Syntax

  ```js
  import { electron } from '@je-es/electron';

  electron(
  {
      meta:
      {
        mainDirectory   ?: string,
        logsDirectory   ?: string,
        defaultWindow   ?: string,
        ...
      },

      events:
      {
        app :
        {
            onReady         ?: function,
            onClose         ?: function,
        },

        ipc :
        {
            'group' :
            {
                'event'      : function,
                ...
            },
            ...
        ...
      }
  });
  ```

---

### Documentation

  - [API](./src/docs/src/api.md)

---

> **Made with ❤ by [Maysara Elshewehy](https://github.com/Maysara-Elshewehy)**
npm package: @je-es/format
Description: A function to format text with ANSI styles, padding, and borders
Author: Maysara Elshewehy
Latest version: 0.0.1

# [@je-es](https://github.com/je-es)/style

> This package provides a function to format text with ANSI styles, padding, and borders.

- #### 📥 Install

    ```Bash
    npm i @je-es/style
    ```

- #### 🌠 Syntax

    ```ts
    import { ? } from '@je-es/style';
    ```

---

### Documents

- [Style](./src/docs/src/style.md)
- [Pattern](./src/docs/src/pattern.md)

---

> **Made with ❤ by [Maysara Elshewehy](https://github.com/Maysara-Elshewehy)**
npm package: @je-es/log
Description: Designed specifically for Node.js environments, offers a robust logging solution to streamline event tracking and debugging processes.
Author: Maysara Elshewehy
Latest version: 1.0.3

# [@je-es](https://github.com/je-es)/log

> Designed specifically for Node.js environments, offers a robust logging solution to streamline event tracking and debugging processes.



- #### 📥 Usage

    ```Bash
    npm i @je-es/log
    ```

- #### 🌟 Syntax

    ```ts
    import { log } from '@je-es/log';

    log(' ? ',
    {
        level           ?: 'info' | 'warn' | 'error' | 'debug';
        minify          ?: boolean;
        to              ?: 'terminal' | string;
    });
    ```

    ```ts
    import { logger } from '@je-es/log';

    const logger = new logger(
    {
        root            ?: string;  // the main directory
        save            ?: boolean; // save logs to files ?
    });

    logger.<info|warn|error|debug>(' ? ',
    {
        filePath        ?: string;  // default is : root + /logs/level.log
        save            ?: boolean; // ignore logger.save
    });
    ```

---

### Documentation

  - [API](./src/docs/src/api.md)

---

> **Made with ❤ by [Maysara Elshewehy](https://github.com/Maysara-Elshewehy)**
npm package: @je-es/mecs
Description: Node cli application to quickly create projects.
Author: Maysara Elshewehy
Latest version: 0.0.2

# [@je-es](https://github.com/je-es)/mecs

> Node cli application to quickly create projects.

- #### 📥 Usage

    ```Bash
    npm i @je-es/mecs -g
    ```

- #### 🌟 Syntax

    ```
    npx mecs --create <type> --as <name>
    ```

    ```bash
    # create npm package
    npx mecs --create npm --as myPackage
    ```

    ```bash
    # create electron application
    npx mecs --create electron --as myApp
    ``` 

    ```bash
    # 🌟 and more  ..
    ``` 

---

> **Made with ❤ by [Maysara Elshewehy](https://github.com/Maysara-Elshewehy)**
npm package: @je-es/style
Description: A utility for styling text output, providing customizable formatting options such as foreground and background colors, text attributes, padding, borders, width, and alignment.
Author: Maysara Elshewehy
Latest version: 1.0.5

# [@je-es](https://github.com/je-es)/style

> A utility for styling text output, providing customizable formatting options such as foreground and background colors, text attributes, padding, borders, width, and alignment.

- #### 📥 Usage

    ```Bash
    npm i @je-es/style
    ```

- #### 🌟 Syntax

    ```ts
    import { style } from '@je-es/style';

    style('Hello World',
    {
        fg      ?: t_color,     // string('name' | '#hex') | array[r,g,b]
        bg      ?: t_color,     // ...
        attr    ?: t_attr,      // string | string [],

        prefix  ?: t_prefix,    // { val : string, fg ?: t_color, bg ?: t_color }
        suffix  ?: t_prefix,    // ...

        padding ?: t_padding,   // { top, bottom, right, left }
        border  ?: t_border,    // { width ?: number, fg ?: t_color, bg ?: t_color }

        align   ?: t_align      // 'center' | 'right' | 'left'

        width   ?: number,
    })
    ```

---

### Documentation

  - [API](./src/docs/src/api.md)

---

> **Made with ❤ by [Maysara Elshewehy](https://github.com/Maysara-Elshewehy)**
npm package: @je-ex/client
Description: A utility for the @je-es/server package.
Author: Maysara Elshewehy
Latest version: 1.0.0

# @je-ex/client

> This package is not intended for general use, but is a utility for the [`@je-es/server`]() package.

---

> **Made with ❤ by [Maysara Elshewehy](https://github.com/Maysara-Elshewehy)**
npm package: @je255rey/react-native-exit-app
Description: Exit,close,kill,shutdown app completely for React Native on iOS and Android.
Author: Wumke
Latest version: 1.1.0

# react-native-exit-app
Exit / Close / Kill / shutdown your react native app. Does not invoke a crash notification.

NOTICE:
- for React Native < 0.47 use react-native-exit-app <1.x.x
- for React Native > 0.47 use react-native-exit-app >=1.x.x

## Setup

Fast and easy:
```bash
npm install react-native-exit-app --save
react-native link react-native-exit-app
```

Or manual: add the latest version as dependeny to your package.json.

```javascript
{
  "name": "YourProject",
  ...
  },
  "dependencies": {
    ...
    "react-native-exit-app": "0.1.0",
    ...
  }
```

#### iOS
* Add RNExitApp.xcoderproj into your project in the Libraries folder.
* Add the .a file on the General tab of your target under Linked Frameworks And Libraries
* Add the .a file on the Build Phases tab of your target under Link Binary With Libraries

#### Android
* In the settings.gradle
  ```
    include ':react-native-exit-app', ':app'
    project(':react-native-exit-app').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-exit-app/android')
  ```
* In the build.gradle
  ```
    compile project(':react-native-exit-app')
  ```
* In MainApplication.java
  ```
    import com.github.wumke.RNExitApp.RNExitAppPackage;
    ...
    @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
        ...
        new RNExitAppPackage(),
        ...
      );
    }
    ...
  ```
## Usage

```javascript
import RNExitApp from 'react-native-exit-app';
...
RNExitApp.exitApp();
...
```

## Versioning

This project uses semantic versioning: MAJOR.MINOR.PATCH.
This means that releases within the same MAJOR version are always backwards compatible. For more info see [semver.org](http://semver.org/).