
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Copy your frontend dependencies directly into your assets.
npm i -D codep-cli
codep <outDir> [options]
For local installation usage:
npx codep "assets/vendor" --exclude "jquery,modernizr"
Or via package.json
scripts:
{
"scripts": {
"vendor": "codep assets/vendor --exclude jquery,modernizr"
}
}
Then run npm run vendor
through your CLI.
Please run npx codep --help
to see available options:
$ npx codep --help
Usage
$ codep <outDir> [options]
Examples
# Copy dependencies with default options
$ codep public/assets
# Copy dependencies to public/assets folder except jquery and modernizr
$ codep public/assets --exclude jquery,modernizr
Options
-s, --source Specify the node_modules source path
-p, --pkg Specify the package.json path
-k, --keepDist Keep the dist folder to exist, if any.
If "true" the output will be "pkg/dist", default "false"
-e, --exclude Specify the name of the dependencies you don\'t want to copy, e.g. "bootstrap,modernizr"
-d, --devDependencies Should you need to grab devDependencies as well?
--ext Only copied files with the specified extension, e.g. "js,ts"
-o, --overwrite Do you want to overwrite existing dependencies in the <outDir>?
<outDir> Specify an output folder for all copied files
FAQs
Copy your frontend dependencies directly into your assets
The npm package codep-cli receives a total of 0 weekly downloads. As such, codep-cli popularity was classified as not popular.
We found that codep-cli 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.