
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
metalsmith-ng-annotate
Advanced tools
Metalsmith plugin to add, remove and rebuild AngularJS dependency injection annotations.
Metalsmith plugin to add, remove and rebuild AngularJS dependency injection annotations.
Install the package:
npm install metalsmith-ng-annotate --save
Use the plugin in the Metalsmith chain:
var Metalsmith = require('metalsmith'),
ngAnnotate = require('metalsmith-ng-annotate');
var project = Metalsmith(__dirname)
.use(ngAnnotate({
add: true
}));
project.build(function (error) {
});
add (Boolean)
Add dependency injection annotations where non-existing.
pattern (String | Array)
Filter files that match a pattern.
remove (Boolean)
Remove all existing dependency injection annotations.
rename (Object)
Rename declarations and annotated references.
single_quotes (Boolean)
Use single quotes instead of double quotes.
Released under The Apache Software License, Version 2.0
FAQs
Metalsmith plugin to add, remove and rebuild AngularJS dependency injection annotations.
We found that metalsmith-ng-annotate 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.