An implemententation of a communication channel using hypercore.
The goal of this functionality is to support the following type of expression
model.from([1,2,3]).toChannel()
model.fromChannel().log()
npm install real-value-channel-hypercore
//Create a RAM hypercore
const channel = ChannelFactory('ram')
//Create a file system base hypercore
const channel = ChannelFactory('./somedirectory')
//Then you add to the channel using the enqueue method
channel.enqueue({foo: 'bar'})
//Then you read from the channel using the dequeue and length methods
if(channel.length()>0)
let nextvalue = channel.dequeue()