@universal-packages/core-redis
TypeScript icon, indicating that this package has built-in type declarations

1.4.19 • Public • Published

Core Redis

npm version Testing codecov

Redis universal-core module abstraction.

Install

npm install @universal-packages/core-redis

npm install @universal-packages/core
npm install redis

Initialization

ucore initialize redis

Global

Core expose RedisClient as the global subject if core modulesAsGlobals config is true.

redisSubject.set()
core.coreModules.redisModule.subject.set()

Typescript

In order for typescript to see the global types you need to reference the types somewhere in your project, normally ./src/globals.d.ts.

/// <reference types="@universal-packages/core-redis" />

Typescript

This library is developed in TypeScript and shipped fully typed.

Contributing

The development of this library happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving this library.

License

MIT licensed.

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i @universal-packages/core-redis

    Weekly Downloads

    157

    Version

    1.4.19

    License

    MIT

    Unpacked Size

    12.1 kB

    Total Files

    23

    Last publish

    Collaborators

    • omarandstuff