UNPKG

chameleon-linter

Version:

cml规范校验工具

4 lines (3 loc) 106 B
module.exports.isOriginComponent = function(tag) { return tag ? /^origin-\w+/.test(tag.name) : false; }