Get started with highland CDN

Apache-2.0 licensed

Functional-reactive library, Highland.js handles async JS data streams.

Tags:
  • streams
  • async
  • events
  • pipe

Stable version

Copied!

How to start using highland CDN


// Include Highland.js library from CDN
const Highland = require('highland');

// Create an observable source
const source = new Highland(x => x.split(''));

// Apply some transformations using Highland operators
const transformed = source
  .map(char => char.toUpperCase())
  .filter(char => char !== ' ')
  .take(5);

// Subscribe and log the result
transformed.subscribe(x => console.log(x));

// Feed the source with data
source.push('hello world');
Copied!
Copied!

All versions