Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
angular-directive-boilerplate
Advanced tools
This is a simple AngularJS directive boilerplate to help you start your own AngularJS directive and publish it in Bower and NPM. This readme file itself is a boilerplate.
Clone the project and install dependencies, then use Gulp to start the prject.
git clone git@github.com:mohsen1/angular-directive-boilerplate.git my-directive
cd my-directive
npm install
bower install
gulp serve
From here, you can start changing things and make your own directive.
Install via bower
bower install angular-directive-template
Add it as a dependency to your app and then use the directive in your HTML files.
Install Gulp via npm if you don't have it
npm install -g gulp
gulp
: build and test the projectgulp build
: build the project and make new files indist
gulp serve
: start a server to serve the demo page and launch a browser then watches for changes in src
files to reload the pagegulp test
: run testsgulp serve-test
: runs tests and keep test browser open for development. Watches for changes in source and test files to re-run the testsMIT
FAQs
Angular Publishable Directive Boilerplate
We found that angular-directive-boilerplate 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.