A JavaScript implementation of the logit function
The logit function is the inverse of the sigmoid
$ npm install logit
var logit = require('logit-function');
logit(0.7) // 0.8472978603872034
To Steven Miller, the author of the sigmoid
npm package in which this one is heavily based on.