@daiso-tech/core 0.22.1 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +20 -19
  2. package/package.json +10 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @daiso-tech/core
2
2
 
3
- ## Install
3
+ ## Installation
4
4
  ```bash
5
5
  npm install @daiso-tech/core
6
6
  ```
@@ -8,24 +8,25 @@ npm install @daiso-tech/core
8
8
  ## Description
9
9
  The library provides modular solutions for the essential features needed in modern web applications. Stop wasting time searching for packages or reinventing the wheel — this framework-agnostic library, built on adaptable components, works well with popular frameworks like Express.js, Fastify, Nest.js, Next.js, Nuxt.js, SvelteKit, and Remix.
10
10
 
11
- As of now the library includes:
12
- * A set of immutable collection classes that simplifies working with iterables and async iterables.
13
-
14
- In the future the following components will be added:
15
- * Key value storage adapters that provides a single interface for interacting with different databases.
16
-
17
- * TTL (Time To Live) Cache adapters that provides a single interface for interacting with different databases.
18
-
19
- * File storage adapters that provides a single interface for interacting with different filesystems.
20
-
21
- * A HTTP client built on the web standard Fetch API, featuring a middleware plugin system that includes predefined plugins for retry, timeout, and caching.
22
-
23
- * Task scheduling adapters that provides a single interface for easily scheduling recuring jobs.
24
-
25
- * Job queue adapters that provides a single interface for ofloading slow jobs to a background queue.
26
-
27
- * Notification adapters that provides a single interface for quickly notifications to your users via email, Slack, SMS and in-app.
11
+ ### Current Library Features:
12
+ - Immutable collection components:
13
+ - Immutable <i>IterableCollection</i> that simplifies working with <i>Iterable</i>.
14
+ - Immutable <i>ListCollection</i> that simplifies working with <i>Array</i>.
15
+ - Immutable <i>AsyncIterableCollection</i> that simplifies working with <i>AsyncIterable</i>.
16
+ - Cache component with support for pluggable adapters.
17
+ - Lock component with supports for pluggable adapters.
18
+ - EventBus component with support for pluggable adapters.
19
+
20
+ ### In the future the following components will be added:
21
+ - Semaphore component
22
+ - SharedLock (ReaderWriterLock) component
23
+ - RateLimter component
24
+ - CircuitBreaker component
25
+ - MessageQueue component
26
+ - TaskScheduler component
27
+ - Notification component
28
+ - Abstract FileStorage component
28
29
 
29
30
  This library is heavily inspired laravel but built in modular way where you can choose which part to use.
30
31
 
31
- ## Visit the [docs](https://yousif-khalil-abdulkarim.github.io/daiso-core/) for more information!
32
+ ### Visit the [docs](https://yousif-khalil-abdulkarim.github.io/daiso-core/) for more information!
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@daiso-tech/core",
3
3
  "private": false,
4
- "version": "0.22.1",
4
+ "version": "0.22.2",
5
5
  "author": "Yousif Abdulkarim",
6
6
  "license": "Apache-2.0",
7
7
  "main": "./dist/cjs/_module.js",
@@ -13,6 +13,7 @@
13
13
  "url": "https://github.com/yousif-khalil-abdulkarim/daiso-core.git"
14
14
  },
15
15
  "keywords": [
16
+ "Async collection",
16
17
  "Collection",
17
18
  "Array",
18
19
  "Iterable",
@@ -21,6 +22,14 @@
21
22
  "Storage",
22
23
  "EventBus",
23
24
  "PuSub",
25
+ "Lock",
26
+ "Distributed lock",
27
+ "Mutex",
28
+ "Distributed mutex",
29
+ "Serialization",
30
+ "Serializer",
31
+ "Deserialization",
32
+ "Deserializer",
24
33
  "Mongodb",
25
34
  "Redis",
26
35
  "Sqlite3",