UNPKG

osrm

Version:

The Open Source Routing Machine is a high performance routing engine written in C++14 designed to run on OpenStreetMap data.

11 lines (8 loc) 225 B
'use strict'; var builtinModules = require('builtin-modules'); module.exports = function (str) { if (typeof str !== 'string') { throw new TypeError('Expected a string'); } return builtinModules.indexOf(str) !== -1; };