open-index/open-npm huggingface dataset:
npm package: @jin-qu/array-extensions
Description: Jinqu Array Prototype extensions.
Author: Umut Özel
Latest version: 2.0.0

# jinqu-array-extensions - Jinqu Array Prototype Extensions

[![Build and Test](https://github.com/jin-qu/jinqu-array-extensions/actions/workflows/build.yml/badge.svg)](https://github.com/jin-qu/jinqu-array-extensions/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/jin-qu/jinqu-array-extensions/graph/badge.svg?token=QbIm6H1Ucc)](https://codecov.io/gh/jin-qu/jinqu-array-extensions)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/08790e72c34e4f44b2f6a04740252780)](https://app.codacy.com/gh/jin-qu/jinqu-array-extensions/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
<a href="https://snyk.io/test/npm/jinqu-array-extensions"><img src="https://snyk.io/test/npm/jinqu-array-extensions/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/npm/jinqu-array-extensions" style="max-width:100%;"></a>

[![npm version](https://img.shields.io/npm/v/jinqu-array-extensions)](https://www.npmjs.com/package/jinqu-array-extensions)
[![npm downloads](https://img.shields.io/npm/dm/jinqu-array-extensions.svg)](https://www.npmjs.com/package/jinqu-array-extensions)

[![GitHub issues](https://img.shields.io/github/issues/jin-qu/jinqu-array-extensions.svg)](https://github.com/jin-qu/jinqu-array-extensions/issues)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/jin-qu/jinqu-array-extensions/main/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/jin-qu/jinqu-array-extensions.svg?style=social&label=Star)](https://github.com/jin-qu/jinqu-array-extensions)
[![GitHub forks](https://img.shields.io/github/forks/jin-qu/jinqu-array-extensions.svg?style=social&label=Fork)](https://github.com/jin-qu/jinqu-array-extensions)

Jinqu no longer injects methods into Array Prototype, this repository will provide the functionality.

## Installation

```shell
npm i jinqu-array-extensions
```

## Usage

You only need to import the package, Jinqu query methods will be attached to Array Prototype.

```typescript
import 'jinqu-array-extensions';

const arr = [1, 2, 3];
// arr.asQueryable() is not needed.
const first = arr.first();

// if you don't want to use extension methods
// and think "asQueryable" is too long, you can use "q"
const last = arr.q().last();
```

## License

jinqu-array-extensions is under the [MIT License](LICENSE).
npm package: @jin-qu/axios
Description: jinqu axios implementation
Author: Umut Özel
Latest version: 2.0.0

# Jinqu - Querying infrastructure for JavaScript, with Linq style

[![Build and Test](https://github.com/jin-qu/jinqu-axios/actions/workflows/build.yml/badge.svg)](https://github.com/jin-qu/jinqu-axios/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/jin-qu/@jin-qu/axios/graph/badge.svg?token=3WUQ44WFaI)](https://codecov.io/gh/jin-qu/@jin-qu/axios)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/f4732afd1755450b9db0ba2f94cc54b8)](https://app.codacy.com/gh/jin-qu/@jin-qu/axios/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
<a href="https://snyk.io/test/npm/@jin-qu/axios"><img src="https://snyk.io/test/npm/@jin-qu/axios/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/npm/@jin-qu/axios" style="max-width:100%;"></a>

[![npm version](https://img.shields.io/npm/v/@jin-qu/axios)](https://www.npmjs.com/package/@jin-qu/axios)
[![npm downloads](https://img.shields.io/npm/dm/@jin-qu/axios.svg)](https://www.npmjs.com/package/@jin-qu/axios)

[![GitHub issues](https://img.shields.io/github/issues/jin-qu/jinqu-axios.svg)](https://github.com/jin-qu/jinqu-axios/issues)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/jin-qu/jinqu-axios/main/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/jin-qu/jinqu-axios.svg?style=social&label=Star)](https://github.com/jin-qu/jinqu-axios)
[![GitHub forks](https://img.shields.io/github/forks/jin-qu/jinqu-axios.svg?style=social&label=Fork)](https://github.com/jin-qu/jinqu-axios)

Jinqu Axios Ajax provider.

# License
Jinqu-axios is under the [MIT License](LICENSE).
npm package: @jin-qu/fetch
Description: Jinqu Fetch implementation
Author: Umut Özel
Latest version: 2.0.0

# Jinqu - Querying infrastructure for JavaScript, with Linq style

[![Build and Test](https://github.com/jin-qu/jinqu-fetch/actions/workflows/build.yml/badge.svg)](https://github.com/jin-qu/jinqu-fetch/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/jin-qu/jinqu-fetch/graph/badge.svg?token=q74l1woFij)](https://codecov.io/gh/jin-qu/jinqu-fetch)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/6b5e54e8758140bb8ecb481c53c50a9f)](https://app.codacy.com/gh/jin-qu/jinqu-fetch/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
<a href="https://snyk.io/test/npm/@jin-qu/fetch"><img src="https://snyk.io/test/npm/@jin-qu/fetch/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/npm/@jin-qu/fetch" style="max-width:100%;"></a>

[![npm version](https://img.shields.io/npm/v/@jin-qu/fetch)](https://www.npmjs.com/package/@jin-qu/fetch)
[![npm downloads](https://img.shields.io/npm/dm/@jin-qu/fetch.svg)](https://www.npmjs.com/package/@jin-qu/fetch)

[![GitHub issues](https://img.shields.io/github/issues/jin-qu/jinqu-fetch.svg)](https://github.com/jin-qu/jinqu-fetch/issues)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/jin-qu/jinqu-fetch/main/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/jin-qu/jinqu-fetch.svg?style=social&label=Star)](https://github.com/jin-qu/jinqu-fetch)
[![GitHub forks](https://img.shields.io/github/forks/jin-qu/jinqu-fetch.svg?style=social&label=Fork)](https://github.com/jin-qu/jinqu-fetch)

Jinqu fetch Ajax provider.

# License
Jinqu-fetch is under the [MIT License](LICENSE).
npm package: @jin7942/utils
Description: 자주 사용하는 로거, 파일 유틸을 모은 경량화 TypeScript 유틸리티 모음
Author: jin7942
Latest version: 1.0.0

# @jin7942/utils

[![npm version](https://img.shields.io/npm/v/@jin7942/utils.svg)](https://www.npmjs.com/package/@jin7942/utils)
[![npm downloads](https://img.shields.io/npm/dm/@jin7942/utils.svg)](https://www.npmjs.com/package/@jin7942/utils)
[![license](https://img.shields.io/npm/l/@jin7942/utils.svg)](https://github.com/jin7942/utils/blob/main/LICENSE)

파일 시스템 작업 및 로깅 기능을 지원하는 경량 유틸리티 모듈입니다.  
CLI 도구, 배포 도구, 자동화 스크립트 등에 사용하기 좋도록 설계되었습니다.

---

## 설치

```bash
npm install @jin7942/utils
```

---

## 문서

[DOCUMENT](./docs/README.md)

## 제공 기능

### 파일 유틸 (fsHelper)

| 함수                               | 설명                                          |
| ---------------------------------- | --------------------------------------------- |
| `ensureDirectoryExists(path)`      | 지정한 디렉토리가 없으면 재귀적으로 생성      |
| `appendToFile(dir, file, content)` | 파일에 로그 추가, 로그 용량 초과 시 자동 정리 |
| `readFile(path)`                   | 파일 내용을 UTF-8로 읽어 문자열 반환          |
| `exists(path)`                     | 해당 경로의 파일 존재 여부를 boolean으로 반환 |

---

### 로깅 유틸 (logger)

-   콘솔 출력 + 파일 저장 지원
-   로그 레벨 필터링 (info / warn / error)
-   ANSI 컬러 지원 (터미널 가독성 강화)

| 메서드              | 설명                                           |
| ------------------- | ---------------------------------------------- |
| `logger.info(msg)`  | 녹색 `[INFO]` 로그 출력                        |
| `logger.warn(msg)`  | 노란색 `[WARN]` 로그 출력                      |
| `logger.error(msg)` | 빨간색 `[ERROR]` 로그 출력 (Error 객체도 지원) |

> 로그 파일은 날짜 기준(`YYYY-MM-DD.log`)으로 저장됩니다.  
> 기본 저장 경로는 `'logs'`이며, `.env` 또는 `logConfig.ts`로 설정 가능합니다.

---

## 예시

```ts
import { logger } from '@jin7942/utils';
import { appendToFile, ensureDirectoryExists } from '@jin7942/utils';

logger.info('작업 시작');
await ensureDirectoryExists('./data');
await appendToFile('./data', 'log.txt', '첫 번째 로그입니다');
```

---

## ⚙ 환경 변수 (.env 또는 process.env)

| 변수명         | 설명                     | 기본값    |
| -------------- | ------------------------ | --------- |
| `LOG_DIR`      | 로그 저장 디렉터리       | `logs`    |
| `LOG_MAX_SIZE` | 최대 디렉터리 용량(byte) | `5242880` |
| `LOG_LEVEL`    | 출력 로그 레벨           | `info`    |

---

## 라이선스

MIT

---

## 제작자

-   [jin7942 GitHub](https://github.com/jin7942)
-   이 유틸은 [RAY 자동배포 도구](https://github.com/jin7942/ray)에서 파생되었습니다.