on a64a26c help sign in
bridge/src/lib/transformers.js
18 lines 343 B history raw
1// import { fill } from './lib'
3const prependSig = s => s.charAt(0) !== '~' ? `~${s}` : s;
5// const hideAllButLast = s => {
6// const ll = s[s.length -1];
7// const bs = fill(s.length - 1, '•')
8// return `${bs}${ll}`
9// };
10//
11// const hideAll = s => fill(s.length, '•');
14export {
15 prependSig,
16 // hideAllButLast,
17 // hideAll,