Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
name-to-imdb
Advanced tools
Finds IMDB ID by movie/series name (fuzzily) and optionally year and type
Map names of movies/series to IMDB IDs
npm install name-to-imdb
args - string of the name or object with name/year/type - { name: "The Devil Bat", year: 1940, type: "movie" }
args.providers - an array of providers to search in; possible options are metadata
and imdbFind
; default is ["metadata", "imdbFind"]
var nameToImdb = require("name-to-imdb");
nameToImdb("south park", function(err, res, inf) {
console.log(res); // "tt0121955"
// inf contains info on where we matched that name - e.g. metadata, or on imdb
// and the meta object with all the available data
console.log(inf);
})
// console.log(inf.meta)
{
id: 'tt0121955',
name: 'South Park',
year: 1997,
type: 'TV series',
yearRange: '1997-',
image: {
src: 'https://m.media-amazon.com/images/M/MV5BOGE2YWUzMDItNTg2Ny00NTUzLTlmZGYtNWMyNzVjMjQ3MThkXkEyXkFqcGdeQXVyNTA4NzY1MzY@._V1_.jpg',
width: 680,
height: 1000
},
starring: 'Trey Parker, Matt Stone',
similarity: 1
}
var nameToImdb = require("name-to-imdb");
nameToImdb({ name: "south park", type: 'series', providers: ['metadata'] }, function (err, res, inf) {
console.log(res); // "tt0121955"
// inf contains info on where we matched that name - e.g. metadata, or on imdb
// and the meta object with all the available data
console.log(inf); // inf: { match, meta }
})
// console.log(inf.meta)
{
id: 'tt0121955',
name: 'South Park',
year: 1997,
type: 'series',
yearRange: undefined, // imdbFind only
image: undefined, // imdbFind only
starring: undefined, // imdbFind only
similarity: undefined // imdbFind only
}
Note: while using "metadata" provider, you must specify the media type and the name must be in english
FAQs
Finds IMDB ID by movie/series name (fuzzily) and optionally year and type
The npm package name-to-imdb receives a total of 59 weekly downloads. As such, name-to-imdb popularity was classified as not popular.
We found that name-to-imdb 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.