Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including nu-stream with all npm packages installed. Try it out:

var nuStream = require("nu-stream")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nu-stream v3.3.1

Infinitely lazy Javascript streams

Nu - Small Lazy Stream Javascript Library

Nu is small (~1k gzipped) Javascript library for creating and operating on lazy, potentially infinite streams. Streams are a simple ordered sequence abstraction, that are both lazy and persistent.

Links

Modules

Nu consists of four modules. Only 'stream', the main module, is required. Other modules can be loaded as needed.

nu-stream::stream

Core functionality. Stream creation and basic operations.

nu-stream::quantifier

Quantification operations on streams.

nu-stream::gen

Generating streams.

nu-stream::select

Selecting subsections of streams.

Code

Nu is written in Khepri. Khepri is an ECMAScript language that compiles to Javascript. The dist directory contains the generated js library while the Khepri source is in lib directory.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free