mingli-wasm-chart
v1.2.0
Published
Charts only, all twenty-four systems. Half the size of the full build; no cross-leaf use cases.
Maintainers
Readme
mingli-wasm-chart
Charts only, all twenty-four systems. Half the size of the full build; no cross-leaf use cases.
import init, { cast_one } from 'mingli-wasm-chart';
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: 1269542 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.
