Graph.tk is being rewritten from scratch (again), and that new version hasn't been released publicly yet. The code is not available either. So, development on this git repository has ended, because the new version will be much, much better.
The math CAS code for the new version is available under javascript-cas, which is currently being worked on so isn't really suitable as a library for other things yet.
Graph.tk is a web application that graphs, solves, simplifies, integrates and differentiates expressions. Currently, it can differentiate most of the functions it knows, but there are many bugs. It cannot expand or factorize properly yet, so it cannot find inverses well, or solve equations. It can currently solve already factorized expressions like: 0=(x^2 /12-log(2))*(x-1)(x+3).
graph.tk is the website which this code is used on.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.