WBXML converter library (Based on WASM libwbxml)
Find a file
Kirill Zhumarin e015e107f1
Some checks failed
Publish / publish (push) Failing after 2m52s
1.1.1
2026-11-11 05:21:39 +03:00
.github/workflows Refactor + add cli tools 2026-11-11 05:15:49 +03:00
patches Refactor + add cli tools 2026-11-11 05:15:49 +03:00
src Refactor + add cli tools 2026-11-11 05:15:49 +03:00
.editorconfig First version 2025-11-08 02:18:33 +03:00
.gitignore Refactor + add cli tools 2026-11-11 05:15:49 +03:00
.gitmodules not modules is not needed 2025-11-08 02:19:55 +03:00
CMakeLists.txt Refactor + add cli tools 2026-11-11 05:15:49 +03:00
LICENSE First version 2025-11-08 02:18:33 +03:00
package.json 1.1.1 2026-11-11 05:21:39 +03:00
pnpm-lock.yaml Refactor + add cli tools 2026-11-11 05:15:49 +03:00
pnpm-workspace.yaml Refactor + add cli tools 2026-11-11 05:15:49 +03:00
README.md Update readme 2026-11-11 05:21:36 +03:00
tsconfig.build.json Refactor + add cli tools 2026-11-11 05:15:49 +03:00
tsconfig.json Refactor + add cli tools 2026-11-11 05:15:49 +03:00

NPM Version

SUMMARY

WBXML ↔ XML converter based on libwbxml.

CLI

npm i -g @sie-js/wbxml

xml2wbxml -o out.wbxml in.xml
wbxml2xml -o out.xml in.wbxml
wbxml2xml -l OTA in.wbxml    # documents without public ID

LIBRARY

import { xml2wbxml, wbxml2xml } from '@sie-js/wbxml';

const wbxml = xml2wbxml(xml);
const decoded = wbxml2xml(wbxml, { lang: 'OTA' });

AI-assisted contributions

We are not against AI. We are against vibe coding, AI slop, and attempts to offload engineering work to a model. This project prioritizes quality, not development speed or results at any cost.

  1. Do not use AI-generated text in human-to-human communication.

    Write comments, discussions, PR descriptions, and responses to reviewers yourself.

  2. Do not let AI submit PRs or commits.

    The author must always be a human who has personally reviewed the changes and takes responsibility for them.

  3. Do not submit code primarily designed or written by AI.

    Architecture, algorithms, code organization, and the final implementation must be decided by a human. AI may only be used as an auxiliary tool.

  4. You must understand all the code you submit.

    You must be able to explain every change, justify your decisions, and fix any problems yourself. If you do not understand the code, open a feature request instead of a PR.

  5. Code must be simple, clear, and tested.

    Follow KISS, the project's coding style, and its existing architecture. Do not introduce unnecessary abstractions, dependencies, or untested changes.

AI slop PRs will be closed without review.