UNPKG

auspice

Version:

Web app for visualizing pathogen evolution

10 lines (6 loc) 150 B
'use strict'; const rgbRegex = require('rgb-regex'); function isRGB(str) { return rgbRegex({ exact: true }).test(str); } module.exports = isRGB;