
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
A simple command-line wrapper around the openwrt `opkg` package manager.
A simple command-line wrapper around the openwrt opkg
package manager.
Allows to usage with a Node API.
Information: https://wiki.openwrt.org/doc/techref/opkg
Available as npm module:
npm install node-opkg
All methods return Promise
s. Command line options can be defined in the following ways:
{forceDepends: null, V: 4}
[--force-depends, -V4]
You can also get the output streams via the options argument:
{
forceDepends: null,
_stdout: (stdout) => {},
_stderr: (stderr) => {}
}
Promise
Update package lists (update
)
Param | Type | Description |
---|---|---|
[opts] | Array | Object | Command-line options |
Promise
Upgrade package(s) (upgrade
)
Param | Type | Description |
---|---|---|
pkg | String | Array.<String> | Package(s) |
[opts] | Array | Object | Command-line options |
Promise
Install package(s) (install
)
Param | Type | Description |
---|---|---|
pkg | String | Array.<String> | Package(s) |
[opts] | Array | Object | Command-line options |
Promise
Configure package(s) (configure
)
Param | Type | Description |
---|---|---|
pkg | String | Array.<String> | Package(s) |
[opts] | Array | Object | Command-line options |
Promise
Remove package(s) (remove
)
Param | Type | Description |
---|---|---|
pkg | String | Array.<String> | Package(s) |
[opts] | Array | Object | Command-line options |
Promise
Flag package(s) (flag
)
Param | Type | Description |
---|---|---|
flag | String | Flag |
pkg | String | Array.<String> | Package(s) |
[opts] | Array | Object | Command-line options |
Promise
Lists packages (list
)
Param | Type | Description |
---|---|---|
list | String | List type ('available', 'installed', 'upgradable') |
[pkg] | String | Array.<String> | Argument for 'available' |
[opts] | Array | Object | Command-line options |
Promise
Lists available packages (list
)
Param | Type | Description |
---|---|---|
[pkg] | String | Array.<String> | Package name(s) |
[opts] | Array | Object | Command-line options |
Promise
Lists installed packages (list
)
Param | Type | Description |
---|---|---|
[opts] | Array | Object | Command-line options |
Promise
Lists upgradable packages (list
)
Param | Type | Description |
---|---|---|
[opts] | Array | Object | Command-line options |
Promise
Lists changed config files (list-changed-conffiles
)
Param | Type | Description |
---|---|---|
[opts] | Array | Object | Command-line options |
Promise
Shows package files (files
)
Param | Type | Description |
---|---|---|
pkg | String | Array.<String> | Package name(s) |
[opts] | Array | Object | Command-line options |
Promise
Find package providing given file
Param | Type | Description |
---|---|---|
q | String | Query |
[opts] | Array | Object | Command-line options |
Promise
Shows package info (info
)
Param | Type | Description |
---|---|---|
pkg | String | Array.<String> | Package name(s) |
[opts] | Array | Object | Command-line options |
Promise
Shows package status(es) (status
)
Param | Type | Description |
---|---|---|
[pkg] | String | Array.<String> | Package name(s) |
[opts] | Array | Object | Command-line options |
Promise
Finds a package by query string
Param | Type | Description |
---|---|---|
q | String | Query string |
Sets the opkg
executable path
Param | Type | Description |
---|---|---|
path | String | Path to executable |
FAQs
A simple command-line wrapper around the openwrt `opkg` package manager.
We found that node-opkg demonstrated a not healthy version release cadence and project activity because the last version was released 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 Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.