ksmithut/skyway

View on GitHub
swagger2/routes/ajv-swagger/formats/binary-format.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict'

// TODO regex can be slow... maybe there's a faster way of doing this?
const binaryRegex = /^([01]{8})*$/

module.exports = binaryRegex