
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
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.
The npm package node-opkg receives a total of 1 weekly downloads. As such, node-opkg popularity was classified as not popular.
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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.