Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
trakt.tv-ondeck
Advanced tools
Readme
Extends https://github.com/vankasteelj/trakt.tv node module, in order to get the equivalent of "on deck to watch"
NOTICE: requires trakt.tv module! Load this plugin directly through trakt.tv
module.
npm install trakt.tv trakt.tv-ondeck
const Trakt = require('trakt.tv');
let trakt = new Trakt({
client_id: '',
client_secret: '',
plugins: {
ondeck: require('trakt.tv-ondeck')
}
});
let onDeckToWatch = {};
trakt.ondeck.getAll().then(function (results) {
onDeckToWatch = results;
console.log(onDeckToWatch);
});
Note: you can bypass the builtin trakt.sync.watched({type:'shows'})
by passing the resulting array as an argument, i.e. trakt.ondeck.getAll(watchedArray)
// let's say we just watched Arrow 01x01 - Pilot that was on the 'on deck' propositions
trakt.ondeck.updateOne(onDeckToWatch, 'arrow').then(function (updatedResults) {
onDeckToWatch = updatedResults;
console.log(updatedResults);
});
note: 'arrow' is the slug, you can also use an ID like imdb if you want. onDeckToWatch is the exact object you recieved from getAll()
License MIT, (c) vankasteelj
FAQs
Plugin for adding 'ondeck' to trakt.tv module
The npm package trakt.tv-ondeck receives a total of 343 weekly downloads. As such, trakt.tv-ondeck popularity was classified as not popular.
We found that trakt.tv-ondeck 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.