Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 567 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 567 Bytes

Cinefile

Overview

Node.js project that pulls movie or televison metadata based on a filename.

Installation

npm install cinefile

Use

A key from the moviedb API is required.

const cinefile = require('cinefile')({ moviedbKey: YOUR_MOVIEDB_KEY });

Running Tests

You will need to set the enviroment variable CINEFILE_MOVIEDB_KEY beforehand:

In Windows Powershell

$Env:CINEFILE_MOVIEDB_KEY = "my_key"

In Linux

export CINEFILE_MOVIEDB_KEY = "my_key"
npm test