
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.
A more modern package to access the content of TMDb.
In your project root folder, enter the following command in the terminal:
$ yarn add vtmdb
or, if you use NPM:
$ npm install vtmdb
Import the class Tmdb in your project and initialize it passing the parameters for the API key and the language that you want to get the results. For example, new Tmdb('pt-BR') will return results in Brazilian Portuguese.
If no language parameter is specified then the default language will be set to English.
// Import the package in your script and initialize the Tmdb class
import Tmdb from 'vtmdb'
const tmdb = new Tmdb('apikey')
// Get the details of the show "The Simpsons"
tmdb.getShow('tt0096697')
.then(console.log)
And the response should be something similar to this:
{
"identifier": "tt0096697",
"url": "https://www.Tmdb.com/title/tt0096697",
"name": "The Simpsons",
"summary": "The satiric adventures of a working-class family in the misfit city of Springfield.",
"description": "This is an animated sitcom about the antics of a dysfunctional family. Homer is the oafish unhealthy beer loving father, Marge is the hardworking homemaker wife, Bart is the perpetual ten-year-old underachiever (and proud of it), Lisa is the unappreciated eight-year-old genius, and Maggie is the cute, pacifier loving silent infant.",
"year": 1989,
"contentRating": "TV-PG",
"alternativeName": null,
"duration": 22,
"aggregateRating": { "ratingValue": 8.7, "ratingCount": 353617 },
"genre": [ "Animation", "Comedy" ],
"image": {
"small": "https://m.media-amazon.com/images/M/MV5BYjFkMTlkYWUtZWFhNy00M2FmLThiOTYtYTRiYjVlZWYxNmJkXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UX182_CR0,0,182,268_AL_.jpg",
"big": "https://m.media-amazon.com/images/M/MV5BYjFkMTlkYWUtZWFhNy00M2FmLThiOTYtYTRiYjVlZWYxNmJkXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_SY1000_CR0,0,666,1000_AL_.jpg"
},
"recommended": [
{ "identifier": "tt0121955", "name": "South Park" },
{ "identifier": "tt0182576", "name": "Family Guy" },
{ "identifier": "tt0149460", "name": "Futurama" },
{ "identifier": "tt0397306", "name": "American Dad!" },
{ "identifier": "tt0462538", "name": "The Simpsons Movie" },
{ "identifier": "tt0412142", "name": "House" },
{ "identifier": "tt2861424", "name": "Rick and Morty" },
{ "identifier": "tt2085059", "name": "Black Mirror" },
{ "identifier": "tt1628033", "name": "Top Gear" },
{ "identifier": "tt0098904", "name": "Seinfeld" },
{ "identifier": "tt3398228", "name": "BoJack Horseman" },
{ "identifier": "tt0367279", "name": "Arrested Development" }
]
}
For detailed information on how to use this package, please check the API reference for more examples.
vtmdb is released under the ISC License. See LICENSE for details.
Vinicius Egidio (vinicius.io)
FAQs
A more modern library to access the content of TMDb
We found that vtmdb 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.