Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A simple node wrapper for The Movie Database Api.
Note : Currently does not support authed endpoints(coming soon™)
npm install tmdb-node
var TmdbApi = require('tmdb-api')
var api = new TmdbApi(API_KEY) //Will throw an error if a key isn't supplied
api.genres(function(err,data){
console.log(data)
})
Unless other wise noted all callbacks use the following signature :
callback(err,response)
Response will automatically be parsed as JSON unless there is an error.
Some of the calls are chainable, the chainable methods work similar to the non chainable ones. The biggest difference is that chainable methods will not execute until you pass in a callback or call the exec method.
var TmdbApi = require('tmdb-api')
var api = new TmdbApi(API_KEY) //Will throw an error if a key isn't supplied
api.movies(550).images().credits().exec(function(err,data){
console.log(data)
})
api.collection(550).images(function(err,data){
console.log(data)
})
I don't want a chained response, I just want movie images.
No problem! All chained methods have a static counterpart. The format is always the same, xY. Where x is the type and Y is the resource. Example:
api.movieImages(550,myOpts,callback)
The signature for a method depends on the endpoint. If the endpoint has variables then each variable must be passed in order. Examples:
/discover/movie
function(opts,callback)
/tv/{id}/season/{season_number}
function(id,seasonNumber,opts,callback)
Search works a bit differently from every other method.
Api.search(where,query,opts,callback)
where-> The section to search. See the official documentation for a list
query-> Your search query
MIT LICENSE
FAQs
Wrapper for The Movie Database api
The npm package tmdb-node receives a total of 0 weekly downloads. As such, tmdb-node popularity was classified as not popular.
We found that tmdb-node 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.