
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
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.
Angular library for querying The Movie Database (TMDB) API with typed models and view-models.
An Angular library that provides easy access to The Movie Database (TMDB) API, offering services and view-models for movies, TV shows, and people.
npm install ng-tmdb
In your app.config.ts, add provideTmdb({ apiKey: '<your api key here>' }) to your ApplicationConfig providers:
import { provideTmdb } from 'ng-tmdb';
export const appConfig: ApplicationConfig = {
providers: [
provideBrowserGlobalErrorListeners(),
provideTmdb({ apiKey: '<your api key here>' }),
// ...other providers
],
};
Add the desired TMDB services and view-models to your component's providers:
import { Component } from '@angular/core';
import { MovieService, MovieViewModel } from 'ng-tmdb';
@Component({
selector: 'app-home',
providers: [MovieService, MovieViewModel],
templateUrl: './home.html',
styleUrl: './home.scss',
})
export class HomeComponent {}
import { Component } from '@angular/core';
import { MovieService } from 'ng-tmdb';
@Component({
selector: 'app-movies',
providers: [MovieService],
template: `<ul>
@for (movie of movies; track movie.id) {
<li>{{ movie.title }}</li>
}
</ul>`,
})
export class MoviesComponent {
movies = [];
constructor(private _movieService: MovieService) {
this._movieService.getNowPlayingMovies().subscribe({
next: (result) => (this.movies = result.results),
error: (err) => console.error(err),
});
}
}
import { Component } from '@angular/core';
import { TvShowService } from 'ng-tmdb';
@Component({
selector: 'app-tvshows',
providers: [TvShowService],
template: `<ul>
@for (show of shows; track show.id) {
<li>{{ show.name }}</li>
}
</ul>`,
})
export class TvShowsComponent {
shows = [];
constructor(private _tvShowService: TvShowService) {
this._tvShowService.getPopularTvShows().subscribe({
next: (result) => (this.shows = result.results),
error: (err) => console.error(err),
});
}
}
import { Component } from '@angular/core';
import { PersonService } from 'ng-tmdb';
@Component({
selector: 'app-people',
providers: [PersonService],
template: `<ul>
@for (person of people; track person.id) {
<li>{{ person.name }}</li>
}
</ul>`,
})
export class PeopleComponent {
people = [];
constructor(private _personService: PersonService) {
this._personService.getPopularPeople().subscribe({
next: (result) => (this.people = result.results),
error: (err) => console.error(err),
});
}
}
provideTmdb({ apiKey: '<your api key here>' });
Contributions are welcome! Please open an issue or submit a pull request to help improve ng-tmdb.
MIT License. See LICENSE for details.
FAQs
Angular library for querying The Movie Database (TMDB) API with typed models and view-models.
We found that ng-tmdb demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.