Create Redis Key – An NPM Package to Config & Create Redis Keys

create-redis-key-–-an-npm-package-to-config-&-create-redis-keys

Overview of My Submission

I created an NPM package named as create-redis-key

A Redis key creation utility.

Create Redis Key Templates, which include parameters, using a nested config object & use your Redis Key Template strings to create Redis Keys.

I published an introduction post for the package on DEV.to!

Explained my motivation for developing such package on the motivation section of my introduction post for the package.

The code released under MIT licence on GitHub.

Submission Category:

Wacky Wildcards

[Optional: Video Explainer of My Project]

None.

Language Used

Typescript & NodeJS

See create-redis-key on GitHub.

GitHub logo

alper-guven
/
create-redis-key

Redis key creation utility

Create Redis Key

A Redis key creation utility.

Create Redis Key Templates, which include parameters, using a nested config object & use your Redis Key Template strings to create Redis Keys.

This package heavily uses Template Literal Types which is available since TypeScript 4.1 so you need at least this version of Typescript for this package to properly work.

npm MIT License

Examples

See it on action (StackBlitz)

Check How to Use section to see explanations of usage options on examples.

Sections

Installation

Install create-redis-key with npm

  npm install create-redis-key

Type definitions? Included!

How It Works

Eventual purpose of this library is to create a Redis Key (which is basically a string) using a template which we call in this library a Redis Key Template.

There isโ€ฆ

See create-redis-key on NPM.


create-redis-key – npm

A Redis key creation utility.. Latest version: 1.0.1, last published: 2 days ago. Start using create-redis-key in your project by running `npm i create-redis-key`. There are no other projects in the npm registry using create-redis-key.

favicon
npmjs.com

Additional Resources / Info

My package is well documented & tested. Ready for production use.

Collaborators

@alperguven

Total
1
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
create-redis-key-–-easy-way-to-configure-all-your-redis-keys-in-one-place

Create Redis Key – Easy Way to Configure All Your Redis Keys In One Place

Next Post
how-to-find-your-real-seo-competitors-โ€”-whiteboard-friday

How to Find Your Real SEO Competitors โ€” Whiteboard Friday

Related Posts