2024-09-14 20:33:42 +03:00
|
|
|
## NiimBlueLib [](https://npmjs.com/package/@mmote/niimbluelib)
|
|
|
|
|
|
|
|
> [!WARNING]
|
|
|
|
>
|
|
|
|
> This project is intended for informational and educational purposes only.
|
|
|
|
> The project is not affiliated with or endorsed by the original software or hardware vendor,
|
|
|
|
> and is not intended to be used for commercial purposes without the consent of the vendor.
|
|
|
|
|
2024-12-05 15:43:06 +03:00
|
|
|
[Documentation](https://multimote.github.io/niimbluelib/)
|
|
|
|
|
2024-09-14 20:33:42 +03:00
|
|
|
NiimBlueLib is a library for the communication with NIIMBOT printers.
|
2024-09-15 10:17:39 +03:00
|
|
|
Used in [NiimBlue](https://github.com/MultiMote/niimblue) project.
|
2024-09-14 20:33:42 +03:00
|
|
|
|
2025-01-27 11:29:52 +03:00
|
|
|
NiimBlueLib provides the most accurate open source implementation of the NIIMBOT printers protocol.
|
|
|
|
|
2024-09-15 10:17:39 +03:00
|
|
|
This project is in Alpha state. Use only exact version when you add it to your project. API can be changed anytime.
|
2024-09-14 20:33:42 +03:00
|
|
|
|
2025-01-27 11:29:52 +03:00
|
|
|
Check out the experimental [niimbluelib-headless](https://github.com/MultiMote/niimbluelib-headless) for CLI use cases.
|
2024-10-22 22:30:22 +03:00
|
|
|
|
2024-09-14 22:36:09 +03:00
|
|
|
### Installation
|
|
|
|
|
|
|
|
Yarn:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
yarn add @mmote/niimbluelib --exact
|
|
|
|
```
|
|
|
|
|
2024-11-08 10:38:28 +03:00
|
|
|
### Usage example
|
2024-09-14 20:33:42 +03:00
|
|
|
|
2024-11-08 10:38:28 +03:00
|
|
|
See [example/main.js](example/main.js)
|
2024-09-14 20:33:42 +03:00
|
|
|
|
|
|
|
### Misc
|
|
|
|
|
|
|
|
Eslint not included. Install it with:
|
|
|
|
|
|
|
|
```
|
|
|
|
npm install --no-save --no-package-lock eslint@9.x globals @eslint/js typescript-eslint
|
2024-10-09 16:23:29 +03:00
|
|
|
```
|