Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
clone-packages
Advanced tools
clone packages from one npm registry to another, optionally recursively.
# in bash:
$ npm install -g clone-packages
$ clone-packages beefy browserify@3.x.x --to http://my.registry.us/ --recursive
# ... time passes and your modules are cloned!
or programmatically:
var clone = require('clone-packages')
// grab just this package:
clone('jsl@1.1.0', 'http://registry.npmjs.org/', 'http://my.reg/', function(err) {
})
// grab this package + its deps:
clone.all('jsl@1.1.0', 'http://registry.npmjs.org/', 'http://my.reg/', function(err) {
})
package
may be an object: {name: "packageName", version: "version"}
, or a string: "package"
, "package@1.1.1"
.
sourceRegistry
and targetRegistry
must be strings representing URLs of the respective target registries.
credentials
is optional, and used in the publish step for the target registry only. If given, it may either
be a string (passed on verbatim during basic auth) or a {username, password}
object.
MIT
FAQs
clone packages from one repo to another
The npm package clone-packages receives a total of 9 weekly downloads. As such, clone-packages popularity was classified as not popular.
We found that clone-packages demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.