
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
redis-smq-rest-api
Advanced tools
RedisSMQ REST API provides an HTTP interface enabling any web-capable application to interact with the RedisSMQ message queue using a RESTful API.
# Using npm
npm install redis-smq-rest-api --save
# Using yarn
yarn add redis-smq-rest-api
# Using pnpm
pnpm add redis-smq-rest-api
⚠️ Important: Always install matching versions of RedisSMQ packages to ensure compatibility.
npm install redis-smq@x.x.x redis-smq-rest-api@x.x.x redis-smq-common@x.x.x
See version compatibility for details.
The REST API configuration extends the base RedisSMQ configuration with additional API server settings.
export type THttpApiConfig = {
port?: number;
host?: string;
basePath?: string;
};
export interface IRedisSMQHttpApiConfig extends IRedisSMQConfig {
apiServer?: THttpApiConfig;
}
import { RedisSmqRestApi } from 'redis-smq-rest-api';
// Basic configuration
const basicConfig: IRedisSMQHttpApiConfig = {
redis: {
client: 'ioredis',
options: {
host: '127.0.0.1',
port: 6379,
},
},
apiServer: {
host: '127.0.0.1',
port: 7210,
},
};
import { RedisSmqRestApi } from 'redis-smq-rest-api';
const config: IRedisSMQHttpApiConfig = {
redis: {
client: ERedisConfigClient.IOREDIS,
options: {
host: '127.0.0.1',
port: 6379,
},
},
apiServer: {
host: '127.0.0.1',
port: 7210,
},
};
const apiServer = new RedisSmqRestApi(config);
apiServer.run();
Access the interactive API documentation at:
http://<HOSTNAME>:<PORT>/docs
Download the OpenAPI specification at:
http://<HOSTNAME>:<PORT>/assets/openapi-specs.json
For detailed endpoint documentation, refer to the Swagger UI.
This project is licensed under is released under the MIT License.
FAQs
A RESTful API for RedisSMQ
The npm package redis-smq-rest-api receives a total of 89 weekly downloads. As such, redis-smq-rest-api popularity was classified as not popular.
We found that redis-smq-rest-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.