mingli-wasm
v1.2.0
Published
Twenty-four divination algorithms in the browser: charts for all of them, plus the eight cross-leaf intents.
Maintainers
Readme
mingli-wasm
Twenty-four divination algorithms in the browser: charts for all of them, plus the eight cross-leaf intents.
import init, { cast_one } from 'mingli-wasm';
await init();
const chart = JSON.parse(cast_one('bazi', JSON.stringify({
year: 1990, month: 6, day: 15, hour: 14, minute: 30, tz: 8.0
})));Module size: 1480478 bytes before compression. Every published profile has a byte
budget checked in at scripts/wasm-budget.txt; CI fails on a regression.
Same algorithms as the mingli crates on crates.io — one source, two shapes.
See https://github.com/goliajp/mingli.
