2.0.2 • Published 5 years ago

esperatv-sourcing v2.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

esperatv-sourcing

Sourcing video content for EsperaTV

Installation

This is a Node.js module available through the npm registry. Installation is done using the npm install command:

$ npm install esperatv-sourcing 

API

var Sourcing = require('esperatv-sourcing')

var sourcing = new Sourcing();

var freeSoftwareProvider = function(query) {
  if ('ubuntu' === query) return Promise.resolve(['magnet:?xt=urn:btih:5a8ce26e8a19a877d8ccc927fcc18e34e1f5ff67']);
  return Promise.resolve([]);
};

sourcing.use(freeSoftwareProvider);

sourcing.forTitle('ubuntu', function(magnets) {
  console.log(magnets);
});

License

MIT

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago