Fast, asynchronous, functional reactive stream programming framework with multi‑threading capability based on ES6+.

Master Build StatusMaster Build StatusDependenciesDev DependenciesKnown VulnerabilitiesDeepScan grade

Introduction to Scramjet

Scramjet is a fast, simple, free and open source functional reactive stream programming framework written on top of node.js streams with multi-threadding support. The code is written by chaining functions that transform data easily with ES7 async/await syntax. It is built upon the logic behind three well known javascript array operations: map, filter and reduce. Scramjet transforms are so standard and natural that we're sure you can start writing your code straight away.

  .from(async () => {
    const res = await fetch(url);
    if (!res.ok) throw new Error("Aaaaargh!")
    return res.body;
  .parse(str => str.split("\t"))
    async ([name, ...items]) => insertToDB({name, items})
    async (acc, {score}) => acc + await dedupe(inserted),
    () => console.log(`Found and confirmed`)