open-index/open-npm huggingface dataset:
npm package: @sidzan/webuii-test
Description: 7peaks UI Library
Author: react.team@7peakssoftware.com
Latest version: 0.1.6

# 7peaks WEB UI

## WIP

#### TODOS

- add a repository ✔️
- add linting ✔️
- add test suite (jest/enzyme) ✔️
- add storybook ✔️
- include a buhndler (used: rollup) ✔️
- semantic release 
- expose types
- themes generate
npm package: @sie-js/creampie
Description: CREAMPIE — Code RElocation And Memory PIE extractor.
Latest version: 1.0.3

[![NPM Version](https://img.shields.io/npm/v/%40sie-js%2Fcreampie)](https://www.npmjs.com/package/@sie-js/creampie)

# Code RElocation And Memory PIE extractor
CREAMPIE is a WASM library for extracting runtime memory images and relocated entry points from ELF files compiled as PIE (Position Independent Executables). It allows you to convert an ELF into a binary memory blob and an actual entry address, suitable for direct execution on hardware.

ARM Little Endian only.

# USAGE
```ts
import { loadELF } from "@sie-js/creampie";
import fs from "node:fs";

const elf = loadELF(0xA0000000, fs.readFileSync("app.elf"));
console.log("Base:", "0x" + elf.base.toString(16));
console.log("Entry point:", "0x" + elf.entry.toString(16));
console.log("Ram size:", "0x" + elf.ramSize.toString(16));
console.log("Image size:", "0x" + elf.image.length.toString(16));
console.log("Image data:", elf.image);
```
npm package: @sie-js/fw
Description: Tools for Siemens Mobile firmware files.
Latest version: 1.1.4

[![NPM Version](https://img.shields.io/npm/v/%40sie-js%2Ffw)](https://www.npmjs.com/package/@sie-js/fw)

# SUMMARY

Work with .exe and .xbz firmware files.

# INSTALL
```bash
npm i @sie-js/fw
```

# USAGE
See source code.
npm package: @sie-js/libffshit
Description: Siemens filesystem library
Author: Siemens Mobile Hackers
Latest version: 0.0.9

# Siemens filesystem library
#### Щито это
Библиотека для работы с файловой системой в FULLFLASH. Поддерживается только чтение, записи в обозримых планах нет.

##### Поддерживаемые платформы:
- SGOLD
- SGOLD2
- SGOLD2 ELKA \
Требует тестирования
- EGOLD с Card-Explorer \
Требует тестирования

## Спасибы
- Описание таблицы разметки дисков/паттерны:\
  Azq2 \
  marry_on_me \
  Feyman
- Паттерн поиска начала таблицы разметки дисков SGOLD/SGOLD2/ELKA: \
  Feyman
- FAT Timestamp: \
  perk11
- Патчи на увеличение диска EGOLD
 (Помогли с анализом таблицы разметки диска): \
  kay \
  AlexSid \
  SiNgle \
  Chaos \
  avkiev \
  Baloo
- Smelter: \
  avkiev
- Тестирование: \
  perk11 \
  Feyman \
  FIL \
  maximuservice \
  marry_on_me
npm package: @sie-js/serial
Description: Various serial protocols which are used in the Siemens Mobile Phones.
Author: kirill.zhumarin@gmail.com
Latest version: 1.1.17

[![NPM Version](https://img.shields.io/npm/v/%40sie-js%2Fserial)](https://www.npmjs.com/package/@sie-js/serial)

# Summary

Various serial protocols which are used in the Siemens Mobile Phones.

Install this package with npm:

```shell
npm i @sie-js/serial
```

# Examples

| Protocol | Example                                                                                                  | Description                      |
|----------|----------------------------------------------------------------------------------------------------------|----------------------------------|
| BFC      | [examples/bfc.ts](https://github.com/siemens-mobile-hacks/node-sie-serial/blob/main/examples/bfc.ts)     | Siemens Debug protocol           |
| CGSN     | [examples/cgsn.ts](https://github.com/siemens-mobile-hacks/node-sie-serial/blob/main/examples/cgsn.ts)   | ArmDebugger protocol             |
| AT       | [examples/atc.ts](https://github.com/siemens-mobile-hacks/node-sie-serial/blob/main/examples/atc.ts)     | Modem AT commadns protocol       |
| BSL      | [examples/bsl.ts](https://github.com/siemens-mobile-hacks/node-sie-serial/blob/main/examples/bsl.ts)     | Serial Bootstrap Loader protocol |
| DWD      | [examples/dwd.ts](https://github.com/siemens-mobile-hacks/node-sie-serial/blob/main/examples/dwd.ts)     | APOXI debug protocol (DWDIO)     |
| CHAOS    | [examples/chaos.ts](https://github.com/siemens-mobile-hacks/node-sie-serial/blob/main/examples/chaos.ts) | Chaos flasher protocol           |
npm package: @sie-js/sie-tool
Description: CLI tools for APOXI phones.
Author: kirill.zhumarin@gmail.com
Latest version: 1.0.15

[![NPM Version](https://img.shields.io/npm/v/%40sie-js%2Fsie-tool)](https://www.npmjs.com/package/@sie-js/sie-tool)

# SUMMARY

A console utility for working with Siemens phones (SGold/SGold2).

Works on all major operating systems: Linux, macOS, and Windows.

> [!NOTE]
> All these functions are also available from the browser: [Web Tools](https://siemens-mobile-hacks.github.io/web-tools/).

# INSTALL

### OSX & Linux
1. Install the latest version of [Node.js](https://nodejs.org/en/download/).
2. Install the package:

   ```bash
   npm install -g @sie-js/sie-tool@latest
   ```

### Windows
1. Find and install USB drivers for your phone.
2. Install scoop: https://scoop.sh/
3. Run in PowerShell:
   ```
   scoop bucket add main
   scoop install main/nodejs
   npm install -g @sie-js/sie-tool@latest
   ```

# USAGE

```
Usage: sie-tool [options] [command]

CLI tool for Siemens phones.

Options:
  -v, --version              output the version number
  -p, --port <port>          serial port name (default: "/dev/ttyUSB0")
  -b, --baudrate <baudrate>  limit maximum baudrate (0 - use maximum) (default: "0")
  -V, --verbose              Increase verbosity
  -h, --help                 display help for command

Memory dumper (CGSN):
  memory-read [options]      Read and save phone memory
  memory-read-all [options]  Read and save all available phone memory blocks
  memory-list                List available memory blocks

Screenshotter (BFC):
  screenshot [options]       Make screenshot of phone screen

Boot:
  boot [options]             Boot code to the phone

Commands:
  list-ports                 List available serial ports.
  help [command]             display help for command
```
npm package: @sie-js/siemens-fw-tool
Description: [![NPM Version](https://img.shields.io/npm/v/%40sie-js%2Fsiemens-fw-tool)](https://www.npmjs.com/package/@sie-js/siemens-fw-tool)
Author: kirill.zhumarin@gmail.com
Latest version: 1.1.0


[![NPM Version](https://img.shields.io/npm/v/%40sie-js%2Fsiemens-fw-tool)](https://www.npmjs.com/package/@sie-js/siemens-fw-tool)

# SUMMARY
Console utility for working with Siemens EGOLD/SGOLD firmware files (.exe, .xbz, .xbi, .xfs, .xbb, .exci, .exbi).

Supported .exe files:
- Converting service/update **.exe** to **.xbz**
- Converting FFSInit **.exe** to **.zip**
- Converting SCOUT to **.map** + **.xbz** + **.xfs**

Supported firmware files:
- Firmware: converting **.xbz** / **.xbi** to **.bin**
- FFS: converting **.xfs** to **.bin**
- BCORE: converting **.xbb** to **.bin**
- FACTORY: converting **.exci** / **.exbi** to **.bin**

Works on all OS: Linux, OSX, Windows

# INSTALL
**Linux & OSX**
1. Install the latest version of [NodeJS](https://nodejs.org/en/download/).
2. Install `siemens-fw-tool` package:
	```bash
    npm install -g @sie-js/siemens-fw-tool@latest
 	```

	Alternatively, you can use a `siemens-fw-tool` without installation:
	```bash
    # Just replace "siemens-fw-tool" to "npx @sie-js/siemens-fw-tool"
    npx @sie-js/siemens-fw-tool unpack-exe FFSInit_C81_2_ua-retail_43_0390.exe
    
    # Or use inside cloned repo
    git clone https://github.com/siemens-mobile-hacks/siemens-fw-tool && cd siemens-fw-tool && pnpm i
    node bin/siemens-fw-tool.js unpack-exe FFSInit_C81_2_ua-retail_43_0390.exe
	```

**Windows**

You can [install nodejs on windows](https://nodejs.org/en/download/) and use instruction for OSX/Linux.

# USAGE
```
Usage: siemens-fw-tool [options] [command]

CLI tool for Siemens FW files.

Options:
  -h, --help                       display help for command

Commands:
  info <input>                     Into about fw files.
  unpack-exe <input> [output-dir]  Unpack FFSInit or service/update .exe
  fw2bin <input> [output-file]     Convert WinSwup files to fullflash.bin
  help [command]                   display help for command
```
npm package: @sie-js/swilib
Description: Working with swilib.vkp patch.
Author: kirill.zhumarin@gmail.com
Latest version: 3.0.3

[![NPM Version](https://img.shields.io/npm/v/%40sie-js%2Fswilib)](https://www.npmjs.com/package/@sie-js/swilib)

# SUMMARY

Utils for the `swilib.vkp` patches.

# INSTALL
```bash
npm i @sie-js/swilib
```
npm package: @sie-js/vkp
Description: Parser and utils for the .VKP files format which is used in the V-Klay.
Author: kirill.zhumarin@gmail.com
Latest version: 2.0.2

[![NPM Version](https://img.shields.io/npm/v/%40sie-js%2Fvkp)](https://www.npmjs.com/package/@sie-js/vkp)

# SUMMARY

Parser and utils for the `.VKP` files format which is used in the V-Klay.

# INSTALL
```bash
npm i @sie-js/vkp
```

# USAGE

```js
import fs from 'fs';
import { vkpNormalize, vkpParse } from '@sie-js/vkp';

// Convert from windows-1251 to UTF-8 + replace CRLF to LF
const patchText = vkpNormalize(fs.readFileSync('../patches/patches/E71v45/10732-ElfPack-18_03_2024-v3_2_2.vkp'));

// Parse patch
const vkp = vkpParse(patchText);
console.dir(vkp, { depth: null });

if (vkp.warnings.length || vkp.errors.length) {
    for (const warn of vkp.warnings) {
        console.log(`Warning: ${warn.message}`);
        console.log("```");
        console.log(warn.codeFrame(patchText));
        console.log("```");
        console.log("");
    }

    for (const err of vkp.errors) {
        console.log(`Error: ${err.message}`);
        console.log("```");
        console.log(err.codeFrame(patchText));
        console.log("```");
        console.log("");
    }

    console.log("");
}
```
npm package: @sieabah/mouse
Description: A high quality mouse event binding library that treats the mouse like a first class citizen object.
Author: Brandon Benvie
Latest version: 1.0.1

# Mouse

Mouse providers an interface that represents the mouse itself as an object with state. `window.Mouse` points to the constructor. Only one instance of `Mouse` should exist per `window`. `window.mouse` points to a context's single mouse instance.

# Event Handling

`window.mouse` (just `mouse` from now on) provides existing mouse methods as well as normalizes some and adds new ones.


* __down__: mousedown
* __up__: mouseup
* __move__: mousemove
* __click__: click and contextmenu
* __dblclick__: dbleclick
* __leave__: Uses mouseout but only fires when the mouse leaves the window entirely
* __enter__: Uses mouseover but only fires when the mouse enters the window from outside
* __wheel__: mousewheel and wheel events

# API
The following functions are provided to allow management of listeners. Types is a string of type names separated by spaces for multiple events.

* __mouse.on(types, callback)__: add callback as listener for each type in types
* __mouse.off(types, callback)__: remove callback from listeners for each type in types
* __mouse.once(types, callback)__: add callback as listener for the first time each type in types fires, then removes it
* __mouse.emit(evt)__: takes MouseEvent object and runs the event through the callbacks the same as when a native event is received. Type is determined from the event object
* __new Mouse(view)__: initializes mouse instance for given view. This is done automatically for main window, but this could be run on, for example, an iframe's window to provide a mouse object scope to the iframe.

# Button handling

Mouse button state is tracked and `MouseEvent.prototype` is augmented in two ways:

* __buttons__: a getter that returns the buttons as per the W3C spec (only first 3 buttons currently). That is logical combination of the button states. left is 1, middle is 2, right is 4. All through would be 7, etc.
* __states__: function that interprets the number from buttons into an object like `{ left: true/false, middle: true/false, right: true/false }`
npm package: @siedlerchr/types-ol-ext
Description: Type definitions for ol-ext
Author: Siedlerchr
Latest version: 3.6.8

# types-ol-ext

[ol-ext](https://github.com/Viglino/ol-ext) TypeScript declaration. If you encounter any missing typings or wrong, please open an issue!

Version >=3.5.x is compatible with ol-ext 4.0.x and ol9

## Installation

Add this package with an alias:

```sh
# NPM
npm i -D @types/ol-ext@npm:@siedlerchr/types-ol-ext

# Yarn
yarn add -D @types/ol-ext@npm:@siedlerchr/types-ol-ext
```