UNPKG

now-flow

Version:

Add deployment workflows to Zeit now

14 lines (12 loc) 275 B
/** * Given an array of nameservers (ie: as returned * by `resolveNs` from Node, assert that they're * zeit.world's. */ function isZeitWorld(ns) { if (!ns.length) { return false } return ns.every(host => host.endsWith('.zeit.world')) } module.exports = isZeitWorld