UNPKG

220 BJavaScriptView Raw
1const formats = [
2 'byte',
3 'date-time',
4 'date',
5 'email',
6 'ipv4',
7 'ipv6',
8 'uri',
9 'uuid'
10]
11const fns = {}
12
13formats.forEach(function (format) {
14 fns[format] = require('./' + format)
15})
16
17module.exports = fns