Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

name-to-imdb

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

name-to-imdb - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

2

package.json
{
"name": "name-to-imdb",
"version": "2.2.0",
"version": "2.3.0",
"description": "Finds IMDB ID by movie/series name (fuzzily) and optionally year and type",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -46,3 +46,3 @@ var fetch = require("node-fetch")

var m = matches.find(function(match) {
if (!match.type === query.type) return false
if (!(match.type === query.type)) return false

@@ -49,0 +49,0 @@ if (query.type === 'movie' && query.hasOwnProperty('year'))

@@ -12,3 +12,3 @@ # name-to-imdb

**args.providers** - an array of providers to search in; possible options are ``metadata`` and ``imdb``; default is ``["metadata", "imdb"]``
**args.providers** - an array of providers to search in; possible options are ``metadata`` and ``imdbFind``; default is ``["metadata", "imdbFind"]``

@@ -20,3 +20,3 @@ ## Example

console.log(res); // prints "tt0121955"
console.log(inf); // inf contains info on where we matched that name - e.g. locally, or on google
console.log(inf); // inf contains info on where we matched that name - e.g. metadata, or on imdb
})

@@ -23,0 +23,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc