index.js
function morph (value, input) {
  const result = input || readable()
  const cb = map[type(value)] || end
  cb(result, value)
  return new Proxy(result, {
    get(target, key, receiver) {
      if (key !== 'pipe') return target[key]
      return function (dest) {
        pump(result, dest)
        return dest
      }
    }
  })
}
function morph (value, input) {
  const result = input || readable()
  const cb = map[type(value)] || end
  cb(result, value)
  return new Proxy(result, {
    get(target, key, receiver) {
      if (key !== 'pipe') return target[key]
      return function (dest) {
        pump(result, dest)
        return dest
      }
    }
  })
}
function morph ( value , input ) { const result = input || readable ( ) const cb = map [ type ( value ) ] || end cb ( result , value ) return new Proxy ( result , { get ( target , key , receiver ) { if ( key !== 'pipe' ) return target [ key ] return function ( dest ) { pump ( result , dest ) return dest } } } ) }
Transform any value into a readable stream.

@param {String | Number | Boolean | Promises} value
@param {Boolean?} objectMode
@param {Stream?} readable
@return {Stream}
@api public
Transform any value into a readable stream .