Sadly it depends on legality - whether the MIT licence can be distributed inside MPLv2. With MIT it's slightly less restrictive, so yes - I think you can.
BUT generally I try and keep the libraries that get pulled in to a minimum - and in this case it doesn't seem worth it - the code is actually not that complex, so I'd be tempted to just use it as a reference and put what you need straight into jshardware.c.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sadly it depends on legality - whether the MIT licence can be distributed inside MPLv2. With MIT it's slightly less restrictive, so yes - I think you can.
BUT generally I try and keep the libraries that get pulled in to a minimum - and in this case it doesn't seem worth it - the code is actually not that complex, so I'd be tempted to just use it as a reference and put what you need straight into jshardware.c.