|
|
@ -16,7 +16,9 @@ const ESCAPES = { |
|
|
|
CARRIAGE: '\r' |
|
|
|
} |
|
|
|
|
|
|
|
const formatCC = data => data.replace(/\s/g, '').replace(/(.{4})/g, '$1 ').trim() |
|
|
|
const formatCC = data => { |
|
|
|
return data.replace(/\s/g, '').replace(/(.{4})/g, '$1 ').trim() |
|
|
|
} |
|
|
|
|
|
|
|
module.exports = function( |
|
|
|
{ |
|
|
|