Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minho42/curl-with-redis-cache
a command-line utility to cache curl results using local redis
https://github.com/minho42/curl-with-redis-cache
cli curl nodejs redis redis-cache
Last synced: 23 days ago
JSON representation
a command-line utility to cache curl results using local redis
- Host: GitHub
- URL: https://github.com/minho42/curl-with-redis-cache
- Owner: minho42
- Created: 2024-12-11T01:49:02.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-12-12T01:20:09.000Z (23 days ago)
- Last Synced: 2024-12-12T02:26:32.400Z (23 days ago)
- Topics: cli, curl, nodejs, redis, redis-cache
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# curl-with-redis-cache
node.js script to use local redis to cache curl results
## usage
```shell
# install dependencies
> npm i# run the script
> node index.js
```## alias
```shell
# ~/.zshrc
alias curl0="node /Users/.../curl-with-redis-cache/index.js"# use alias
> curl0 https://jsonplaceholder.typicode.com/posts/1
```