'use strict'; var regression = require('regression'); if (typeof regression === 'function') { console.log('ok'); }