Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 945 Bytes

install.md

File metadata and controls

55 lines (30 loc) · 945 Bytes

Installation

jsonexpr may be built from scratch or installed from a package.

Building from Scratch

To build jsonexpr from scratch, first install libc-wasm then run:

$ make
$ sudo make PREFIX=/usr/local install

C

Build from scratch then the C libraries will be installed to /usr/local/lib and /usr/local/include.

Python

Build from scratch then run pip3 install . from py/.

Javascript

Build from scratch then copy js/lib/je.js and js/lib/je.wasm into your project.

Installing from package

C

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.

Python

pip3 install jsonexpr

Javascript

import je from "//cdn.cbreak.org/jsonexpr/je-latest.min.js";