silentium
v0.0.220
Published
Silentium messaging solution
Downloads
1,959
Readme
Silentium is a TypeScript library for reactive messaging and data flow composition. It provides functional operators for transforming and chaining message streams.
Examples
import { Applied, Stream, Map } from 'silentium';
// Apply a function to a value
Applied(2, (x) => x * 2).then((result) => console.log(result)); // 4
// Convert array to stream and apply function
Applied(Stream([1, 2, 3, 4, 5]), String).then((result) => console.log(result)); // '1','2','3','4','5'
// Map values in a stream
Applied(Map([1, 2, 3], (x) => x * 2), String).then((result) => console.log(result)); // '2','4','6'Packages
List of packages based on silentium library:
License
MIT
