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

17 lines (12 loc) 498 B
const create = require('./lib/entry/mainAny').create const typedDependencies = require('./lib/entry/dependenciesAny.generated').typedDependencies console.warn('Warning: ' + 'The file "mathjs/core.js" is deprecated since v6.0.0. ' + 'Please use the root "mathjs" instead') exports.create = function createLegacy (config) { // TODO: wrap the function create in a warnOnce message const factories = { createTyped: typedDependencies.createTyped } return create(factories, config) }