
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
angular-directive-builder
Advanced tools
Tools for building angular directives as es6 modules
npm install angular-directive-builder
Directives are defined using the below format rather than the standard module.directive call.
export default {
name: "slider",
injections: ["$parse"],
fn: function($parse) {
return {
template: require("./template.html"),
replace: true,
scope: true,
link: function(scope, element, attrs) {
...
}
}
}
This allows the directive to be added to a browserify based app using
this.registerOptionalDirective(require("slider"));
See https://github.com/tqc/ChondricJS/blob/master/es6/core.js for details.
For use in standalone angular apps, the source file is compiled into a regular ES5 angular module.
See https://github.com/tqc/tc-slider for an example.
FAQs
Tools for building angular directives as es6 modules
We found that angular-directive-builder 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.