src/index.js
function createBoundary(data) {
  while (true) {
    var boundary = `----IPFSMini${Math.random() * 100000}.${Math.random() * 100000}`;
    if (data.indexOf(boundary) === -1) {
      return boundary;
    }
  }
}
function createBoundary(data) {
  while (true) {
    var boundary = `----IPFSMini${Math.random() * 100000}.${Math.random() * 100000}`;
    if (data.indexOf(boundary) === -1) {
      return boundary;
    }
  }
}
function createBoundary ( data ) { while ( true ) { var boundary = ` ${ Math . random ( ) * 100000 } ${ Math . random ( ) * 100000 } ` ; if ( data . indexOf ( boundary ) === - 1 ) { return boundary ; } } }
creates a boundary that isn't part of the payload
creates a boundary that isn t part of the payload