npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@actioncrew/streamix

v0.0.9

Published

Lightweight RxJS alternative

Downloads

69

Readme

Streamix

  import { ..., Stream as Observable } from '@actioncrew/streamix;'

build status npm version npm downloads min+zipped

Streamix is a lightweight and alternative implementation of reactive programming concept. It provides similar interface of RxJS operators, but uses slightly changed concept of streams and emissions. If you're already familiar with RxJS, you'll find Streamix easy to master.

Streamix supports many of the most commonly used RxJS operators while also offering unique operators designed specifically for heavy computational tasks, leveraging the Web Workers API. In brief, we’re continually enhancing it with new operators to expand its capabilities.

Today's developer is a hardened warrior, battling the asynchronous dragons of user interactions, network requests, and the ever-present threat of a lagging UI. Synchronous programming? That quaint notion is about as useful as a dial-up modem in the age of gigabit internet.

We all know the mantra: "Async/await is the new king!" But let's be honest, sometimes you just need a simple, reliable solution for your own quirky project. You reach for your trusty synchronous code, a comforting blanket in a world of unpredictable promises and callback hell. But alas! It just doesn't quite fit the asynchronous puzzle.

The trend towards asynchronous programming is accepted as Streamix foundation. Let's describe its building blocks shortly:

A Stream is a sequence of values that can be observed. Streams can emit values either synchronously or asynchronously.

An Emission represents a value emitted by a Stream. Emissions can carry additional metadata, such as whether the emission is cancelled or if there was an error.

Operators are components that can be applied to the stream data. They can be used to transform, filter, and combine streams of data.

A Subject is a special type of Stream that allows manually dispatch emissions. Subjects can be used to share a single execution path among multiple subscribers.

Streamix is ideal for those who need a straightforward way to handle asynchronous data without the complexity of more advanced libraries. It is intended as a lightweight alternative to RxJS for simpler use cases.

To discover more, explore a few sample projects that showcase Streamix’s capabilities: Sample projects

If you’re interested in extending a project or have a brilliant idea or innovative project in mind, we’d love to hear from you! Reach out to us to discuss how Streamix can be leveraged to bring your vision to fruition. We’re eager to collaborate and help bring your ideas to life!

More information