Gathering detailed insights and metrics for moleculer-web
Gathering detailed insights and metrics for moleculer-web
Gathering detailed insights and metrics for moleculer-web
Gathering detailed insights and metrics for moleculer-web
moleculer-web-uws
The `moleculer-web-uws` is a fast API gateway service for Moleculer based on µWebSockets.js server. Use it to publish your services over HTTP and WebSockets.
@spailybot/moleculer-auto-openapi
Generate openapi scheme for moleculer
tenancy-moleculer-web
Official API Gateway service for Moleculer framework
node-moleculer-web
Fast web app service for moleculer.js + uWebSockets.js
🌍 Official API Gateway service for Moleculer framework
npm install moleculer-web
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (99.88%)
HTML (0.12%)
Total Downloads
4,300,598
Last Day
2,890
Last Week
15,012
Last Month
77,206
Last Year
861,767
MIT License
301 Stars
709 Commits
126 Forks
15 Watchers
9 Branches
44 Contributors
Updated on Apr 17, 2025
Minified
Minified + Gzipped
Latest Version
0.10.8
Package Id
moleculer-web@0.10.8
Unpacked Size
134.00 kB
Size
36.05 kB
File Count
15
NPM Version
6.14.16
Node Version
12.22.12
Published on
Mar 24, 2025
Cumulative downloads
Total Downloads
11
1
The moleculer-web
is the official API gateway service for Moleculer. Use it to publish your services.
npm install moleculer-web --save
This example uses API Gateway service with default settings.
You can access to all services (including internal $node.
) via http://localhost:3000/
1let { ServiceBroker } = require("moleculer");
2let ApiService = require("moleculer-web");
3
4let broker = new ServiceBroker({ logger: console });
5
6// Create a service
7broker.createService({
8 name: "test",
9 actions: {
10 hello() {
11 return "Hello API Gateway!"
12 }
13 }
14});
15
16// Load API Gateway
17broker.createService(ApiService);
18
19// Start server
20broker.start();
Test URLs:
Call test.hello
action: http://localhost:3000/test/hello
Get health info of node: http://localhost:3000/~node/health
List all actions: http://localhost:3000/~node/actions
Please read our documentation on Moleculer site
$ npm test
In development with watching
$ npm run ci
Moleculer-web is available under the MIT license.
Copyright (c) 2016-2021 MoleculerJS
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
8 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 7
Reason
Found 8/19 approved changesets -- score normalized to 4
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
77 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-04-28
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
74.8%
2,890
Compared to previous day
Last Week
2.6%
15,012
Compared to previous week
Last Month
1.1%
77,206
Compared to previous month
Last Year
-2.1%
861,767
Compared to previous year