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.
ngx-loadable
Advanced tools
ngx-loadable
Angular provides an easy way for adding route based lazy loading modules. But in most of the projects, each route tends to have a lot of different components. It could be because of lots of modals, tabs, and components that appear based on user interaction in a single route.
The ngx-loadable
wraps the complex implementation for lazy loading non routable modules in a simple API. It provides a Directive and a Component to lazy load modules. A directive can be used for simple lazy loading modules, but if you want more control over the loading of lazy loading modules, by prefetching, then prefer using component.
Install and manage the ngx-loadable using NPM. You may use yarn
or npm
.
npm install ngx-loadable --save
or
yarn add ngx-loadable
Import the LoadableModule in the NgModule and declare them in the "imports", you can also use the forRoot()
for forChild()
function.
import { LoadableModule } from 'ngx-loadable';
@NgModule({
imports: [
LoadableModule
]
})
Please contribute by creating issues/PRs
FAQs
ngx-loadable: Simpler Lazy Loading Non Routable Angular Modules
The npm package ngx-loadable receives a total of 91 weekly downloads. As such, ngx-loadable popularity was classified as not popular.
We found that ngx-loadable 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.