[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: README.md
# `effect` Core Package The `effect` package is the heart of the Effect framework, providing robust primitives for managing side effects, ensuring type safety, and supporting concurrency in your TypeScript applications. ## Requirements - **TypeScript 5.4 or Newer:** Ensure you are using a compatible TypeScript version. - **Strict Type-Checking:** The `strict` flag must be enabled in your `tsconfig.json`. For example: ```json { "compilerOptions": { "strict": true // ...other options } } ``` ## Installation Install the core package using your preferred package manager. For example, with npm: ```bash npm install effect ``` ## Documentation - **Website:** For detailed information and usage examples, visit the [Effect website](https://www.effect.website/). - **API Reference:** For a complete API reference of the core package `effect`, see the [Effect API documentation](https://effect-ts.github.io/effect/). ## Overview of Effect Modules The `effect` package provides a collection of modules designed for functional programming in TypeScript. Below is a brief overview of the core modules: | Module | Description | | -------- | -------------------------------------------------------------------------------------------------------------------------- | | Effect | The core abstraction for managing side effects, concurrency, and error handling in a structured way. | | Context | A lightweight dependency injection mechanism that enables passing services through computations without direct references. | | Layer | A system for managing dependencies, allowing for modular and composable resource allocation. | | Fiber | Lightweight virtual threads with resource-safe cancellation capabilities, enabling many features in Effect. | | Stream | A powerful abstraction for handling asynchronous, event-driven data processing. | | Schedule | A module for defining retry and repeat policies with composable schedules. | | Scope | Manages the lifecycle of resources, ensuring proper acquisition and release. | | Schema | A powerful library for defining, validating, and transforming structured data with type-safe encoding and decoding. | For a comparison between `effect/Schema` and `zod`, see [Schema vs Zod](https://github.com/Effect-TS/effect/tree/main/packages/effect/schema-vs-zod.md).
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium331.web-hosting.com
Server IP: 184.94.213.169
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.88 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: livedhms
User ID (UID): 1344
Group ID (GID): 1349
Script Owner UID: 1344
Current Dir Owner: 1344