open-index/open-npm huggingface dataset:
npm package: @pashoo2/async-queue
Description: An utility class for data serialization with an ability to serialize functions
Author: Pavel Akulich akulich.pavel.stage@gmail.com
Latest version: 0.0.4

# async-queue
Utility classes allow to create an async queue with a batched execution or a concurrent execution of async tasks.

If you need a solution for execution tasks by joining them in batches where all task is executing in parallel way with each other you might use AsyncQueueClassBase.

If you need a tool for executing a class methods one by one in order they were called then you
could choose the "decoratorAsyncQueueConcurentMixinDefault".
E.g. you have two rival methods and they can not execute simultaneously, but it's ok if they are executed that one by one.

In case you have a list of tasks which must be executed as one by one and not simultaneously then you could use ConcurrentAsyncQueue class.

[See docs](docs/modules.md)
npm package: @pashoo2/browser-idle-time-execution-utils
Description: A couple of utils to handle event loop idle period
Author: Pavel Akulich akulich.pavel.stage@gmail.com
Latest version: 0.0.1


# browser-idle-time-execution-utils

This is couple of helpful utils to work with the [requestIdleCallback API](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)

[Sed docs](/docs/modules.md)

`npm install browser-idle-time-execution-utils` or `yarn add browser-idle-time-execution-utils`
npm package: @pashoo2/crypto-utilities
Description: Utilities for a data signing and verification, encryption and decryption, a password generation with a salt, crypto keys generation, serialization, parsing of them. Written in Typescript both for a browser and NodeJS.
Author: Pavel Akulich akulich.pavel.stage@gmail.com
Latest version: 0.0.7

**A variety of utilities for simplification work with data encryption.**
These utilities written in Typescript and can be used both with NodeJS or a browser.
It uses WebCrypto API under the hood.

**Utilities alow you to do such stuff like:**

- generate/import/export of a crypto key,
- sign data by crypto key and than verify it,
- encrypt/decrypt some meaningful data by a crypto key or a password,
- generate a crypto key for a password,
- calculate a hash for data verification.

With these utilities you can easily protect data on a client side and send it a safe way to anyone. You can just verify whether data was created by a certain user. Or just for storing data in a browser's LocalStorage in a safe way by protecting it with a password. You can data sharing p2p with a certain amount of confidence it wont be read by anyone without a permission to do that, like it does in a blockchain.

[See docs](/docs/modules.md)
npm package: @pashoo2/data-cache-utils
Description: Utilities for values memoization and properties values caching depending on a random access ratio to them
Author: Pavel Akulich akulich.pavel.stage@gmail.com
Latest version: 0.0.1

# data-cache-utils

Utilities for values memoization and properties values caching depending on a random access ratio to them.

There is an useful utility for a method result dynamic memoization depending on a number of accesses with a particular parameter passed.

[See docs] (/docs/modules.md)
npm package: @pashoo2/mobx-clean-architecture-boilerplate
Description: A boilerplate for making life easier with MobX
Author: Pavel Akulich akulich.pavel.stage@gmail.com
Latest version: 0.0.1


А boilerplate code for a project that is developed under "**Clean architecture**" agreements.

But it's not actually "Clean", because it uses Mobx library. But it's done especially to reduce time for developing a frontend project, because it allows for developer to use Aggregates and Entities as a domain Models in MVVM architecture without necessity of writing a separate versions of them as Models. Mobx is widely spreaded nowadays and can be connected to all modern UI frameworks, so you will be able to use or switch to any of them (React, Angular, Vue) without touching of your domain logic written with this boilerplate.

If you need a real "purity" for your domain logic you can use [that boilerplate](https://github.com/pashoo2/clean-architecture-boilerplate) instead of this one.

[See docs](/docs/modules.md)
npm package: @pashoo2/serializer
Description: An utility class for data serialization with an ability to serialize functions
Author: Pavel Akulich akulich.pavel.stage@gmail.com
Latest version: 0.0.3

# serializer
An utility class for data serialization with an ability to serialize functions.

It allows to serialize objects containing functions. You can provide a context for functions which are imported, it will allow them to use a kind of an API you provided. Of course if functions have any external references those will throw an exceptions, so you should avoid that.

[Sed docs](/docs/modules.md)