# gals

> global AsyncLocalStorage

Latest version **1.0.2** (published 2023-12-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install gals
pnpm add gals
yarn add gals
bun add gals
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-12-31 |
| First published | 2023-12-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 16.0.0 |
| Dependencies | 0 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | fengmk2 |
| Maintainers | fengmk2 |

## Links

- npm: https://www.npmjs.com/package/gals
- Repository: https://github.com/node-modules/gals
- Homepage: https://github.com/node-modules/gals#readme
- Issues: https://github.com/node-modules/gals/issues
- npm.io page: https://npm.io/package/gals

## Recent versions

- 1.0.2 (latest) — 2023-12-31
- 1.0.1 — 2023-12-19
- 1.0.0 — 2023-12-19

## README

# gals

[![NPM version][npm-image]][npm-url]
[![Node.js CI](https://github.com/node-modules/gals/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/gals/actions/workflows/nodejs.yml)
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/gals.svg?style=flat-square
[npm-url]: https://npmjs.org/package/gals
[codecov-image]: https://codecov.io/github/node-modules/gals/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/node-modules/gals?branch=master
[download-image]: https://img.shields.io/npm/dm/gals.svg?style=flat-square
[download-url]: https://npmjs.org/package/gals

global AsyncLocalStorage

## Install

```bash
npm install gals
```

## Usage

```ts
import { getAsyncLocalStorage } from 'gals';

const asyncLocalStorage = getAsyncLocalStorage();
const store = asyncLocalStorage.getStore();
```

## License

[MIT](LICENSE.txt)

<!-- GITCONTRIBUTOR_START -->

## Contributors

|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|
| :---: |


This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Wed Dec 20 2023 00:17:19 GMT+0800`.

<!-- GITCONTRIBUTOR_END -->

---
_Source: https://npm.io/package/gals · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
