0.1.53 • Published 6 years ago

subdb-node v0.1.53

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

The Node SubDB Wrapper

SubDB-Node is a simple wrapper for the awesome thesubdb.com API. The package exposes a main function download which takes in a file path and downloads a subtitle in the same directory with the same filename as the video.

Installation

npm i subdb-node to use the API. npm i -g subdb-node to use the commandline tool.

API Usage

const subdb = require('node-subdb')
subdb.download('path-to-video-file')

The function returns a Promise which resolves to true if a subtitle is found and downloaded. It returns null if no subtitles were found.

Commandline Usage

subdb <filePath>

0.1.53

6 years ago

0.1.52

6 years ago

0.1.51

6 years ago

0.1.50

6 years ago

0.1.49

6 years ago

0.1.48

6 years ago

0.1.47

6 years ago

0.1.46

6 years ago

0.1.45

6 years ago

0.1.44

6 years ago

0.1.43

6 years ago

0.1.42

6 years ago

0.1.41

6 years ago

0.1.4

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago