<script src="/your-js-dir/json-stat.js"></script> <script src="/your-js-dir/json-stat.utils.js"></script>
While JJT works on any browser, JJUS requires a modern one. If you need to support very old browsers, provide polyfills for forEach, querySelector, querySelectorAll and trim.
JJUS can also be run on the server as a Node.js module. Type the following command to install:
npm install jsonstat-utils
This module has all the functionality of the client version except tbrowser().
JJUS includes 6 functions:
In version 2.0.0, the JJUS interface was changed. The new interface is not backward compatible.
To check the JJUS version: