UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

12 lines (9 loc) 328 B
'use strict'; const styles = require('./styles'); const symbols = require('./symbols'); const utils = require('./utils'); module.exports = prompt => { prompt.options = utils.merge({}, prompt.options.theme, prompt.options); prompt.symbols = symbols.merge(prompt.options); prompt.styles = styles.merge(prompt.options); };