All files / src/fn convert-to-ascii.js

100% Statements 1/1
100% Branches 0/0
100% Functions 1/1
100% Lines 1/1
1 2 3 4 5 6 7 8 9 10        4x          
import {map, join, pipe} from 'f-utility'
import {EMPTY} from '@constants/empty'
import {controlSplit} from '@fn/control-split'
 
export const convertToAscii = (text) => pipe(
  Array.from,
  map(controlSplit),
  join(EMPTY)
)(text)