UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

11 lines (8 loc) 208 B
#!/usr/bin/env node /* * This simply preloads mathjs and drops you into a REPL to * help interactive debugging. **/ math = require('../index'); var repl = require('repl'); repl.start({useGlobal: true});