Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@augu/immutable
Advanced tools
Readme
This library is deprecated in favour of @augu/collections, if you want a updated version of this library, please install it using npm i @augu/collections
! View the changes here.
~ August
Immutable library made in TypeScript
import { Collection } from '@augu/immutable';
const collection = new Collection<string>();
collection.add('a'); //> Collection [Map] { 0 => 'a' }
collection.map(s => s); //> ['a']
collection.delete('a'); //> true
import { Pair } from '@augu/immutable';
const pair = new Pair('a', 'b'); //> Pair<string, string>
pair.getRight(); //> 'a'
pair.getLeft(); //> 'b'
import { Queue } from '@augu/immutable';
const queue = new Queue(['a', 'b', 'c']); //> Queue<string>
queue.peekAt(0); //> 'a'
queue.peek(); //> 'c'
queue.enqueue('d'); //> Queue<string>
queue.tick(console.log); //> Logs 'a', 'b', 'c', 'd'
import { TimedQueue } from '@augu/immutable';
const queue = new TimedQueue({
itemCount: 1, // emit only 1 item
every: 3000, // stop the timer at 3 seconds
time: 1000 // every time to "sleep" until enqueueing
});
queue.on('tick', console.log);
queue.add(['a', 'b', 'c']); // adds 'a', 'b', and 'c' to the queue
queue.start(); // starts the timer
August |
@augu/immutable is released under the MIT License. Read here for more information.
FAQs
📝 Collections library made in TypeScript
The npm package @augu/immutable receives a total of 22 weekly downloads. As such, @augu/immutable popularity was classified as not popular.
We found that @augu/immutable 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.