# Node.JS toolkit

Toolkit for [Node.JS packages](https://docs.npmjs.com/getting-started/packages)

[![NPM Dependency](https://img.shields.io/librariesio/github/TechQuery/node-toolkit.svg)][1]
[![CI & CD](https://github.com/TechQuery/node-toolkit/actions/workflows/main.yml/badge.svg)][2]

[![NPM](https://nodei.co/npm/@tech_query/node-toolkit.png?downloads=true&downloadRank=true&stars=true)][3]

## Versions

| SemVer |    status    |  Node.js  |
| :----: | :----------: | :-------: |
| `>=2`  | ✅developing | `>=22.12` |
|  `<2`  | ❌deprecated |   `>=6`   |

## Basic usage

```Shell
npm install @tech_query/node-toolkit
```

```JavaScript
import * as Toolkit from '@tech_query/node-toolkit';
```

## Utility methods

- [Usage example](https://github.com/TechQuery/node-toolkit/tree/master/test)

- [API document](https://tech-query.me/node-toolkit/)

### Modern alternatives since v2

Some tools in v1 have been replaced by modern standards or packages:

1. Code formatter: https://biomejs.dev/
2. Code highlighter:
   1. https://shiki.style/
   2. https://github.com/wooorm/starry-night
3. ECMAScript compiler & minifier:
   1. https://www.typescriptlang.org/
   2. https://parceljs.org/
4. HTTP request & stream: https://github.com/EasyWebApp/KoAJAX
5. [WinterCG API][4] based tools: https://github.com/EasyWebApp/web-utility
6. Command Line executor: https://google.github.io/zx/

## Typical cases

https://www.npmjs.com/package/@tech_query/node-toolkit?activeTab=dependents

[1]: https://libraries.io/npm/@tech_query/node-toolkit
[2]: https://github.com/TechQuery/node-toolkit/actions/workflows/main.yml
[3]: https://www.npmjs.com/package/@tech_query/node-toolkit
[4]: https://min-common-api.proposal.wintertc.org/
