
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
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.
8.2.1 (2025-04-22)
FAQs
A RESTful API for RedisSMQ
The npm package redis-smq-rest-api receives a total of 94 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.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.