Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
browserify-ngannotate
Advanced tools
A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.
A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.
browserify -t browserify-ngannotate app.js > bundle.js
Provided options are passed through to ng-annotate. The add
option defaults
to true
.
For example, to remove annotations, one could use the following:
browserify -t [ browserify-ngannotate --no-add --remove ] app.js > bundle.js
Sourcemapping will be enabled automatically when browserify is in debug
mode:
browserify --debug -t browserify-ngannotate app.js > bundle.js
Define the filetypes to transform. Prevents other resouces like .json or .css from being processed, if you are including them with require().
This is done using the --x
or --ext
transform options:
browserify -t [ browserify-ngannotate --x .coffee ] app.js > bundle.js
The above example will only annotate .js and .coffee files, ignoring the rest.
npm install browserify-ngannotate --save
MIT
FAQs
A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.
The npm package browserify-ngannotate receives a total of 1,225 weekly downloads. As such, browserify-ngannotate popularity was classified as popular.
We found that browserify-ngannotate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.