-
-
Notifications
You must be signed in to change notification settings - Fork 30
Getting started
Arthur Guiot edited this page May 20, 2018
·
4 revisions
Type the following command in a terminal
[sudo] npm i theorem.jsThen open your favorite code editor:
const t = require("theorem.js");
/* Start coding here */At the end of your <body> tag:
<!-- BigNumber -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bignumber.js/7.1.0/bignumber.min.js" charset="utf-8"></script>
<!-- TheoremJS -->
<script src="https://unpkg.com/theorem.js" charset="utf-8"></script>
<!-- Your scripts -->In your script:
const t = new TheoremJS()Access to the BigNumber configuration like that:
t.config(OBJ) // => BigNumber.config(OBJ)Any questions? Don't hesitate to create an issue and tell me about your problem 😊.
Copyright © 2017-2018 Arthur Guiot