jsonexpr may be built from scratch or installed from a package.
To build jsonexpr from scratch, first install libc-wasm then run:
$ make
$ sudo make PREFIX=/usr/local install
Build from scratch then the C libraries will be installed
to /usr/local/lib
and /usr/local/include
.
Build from scratch then run pip3 install .
from py/
.
Build from scratch then copy js/lib/je.js
and js/lib/je.wasm
into your project.
C libraries are not available for installation from a package at this time.
Build from scratch to install the C library and header files into
/usr/local/lib
and /usr/local/include
, respectively.
pip3 install jsonexpr
import je from "//cdn.cbreak.org/jsonexpr/je-latest.min.js";