'use strict'; var mu = require('machinepack-urls'); var b = mu.validate; if (typeof b === 'function') { console.log('ok'); }