
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
A readable stream to which you can in random order push chunks or sub-streams with an index, and they will be emitted by index ascending.
var Orderable = require('orderable');
var o = Orderable();
setTimeout(function(){
o.set(0, 'foo\n');
}, Math.random() * 1000);
setTimeout(function(){
o.set(1, createStringStream(['b', 'a', 'r', '\n']));
}, Math.random() * 1000);
setTimeout(function(){
o.set(2, 'baz\n');
o.set(3, null);
}, Math.random() * 1000);
o.pipe(process.stdout);
Always outputs:
$ node example.js
foo
bar
baz
$
$ npm install orderable
Create an orderable stream.
Push chunk onto the internal buffer at index. Pass chunk=null to mark the end of a stream. You can pass readable streams as well.
You can also do this at the beginning, like:
o.set(3, null);
o.set(0, 'foo');
o.set(1, 'bar');
o.set(2, 'baz');
MIT
FAQs
Readable stream to which you can push chunks at an index
The npm package orderable receives a total of 0 weekly downloads. As such, orderable popularity was classified as not popular.
We found that orderable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.