Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
flea-killer
Advanced tools
Fleaflicker API through web scraping, since no official API exists.
For all examples:
var flea = require('flea-killer');
leagueType
is the Fleaflicker league ('nhl', 'mlb', etc.).
leagueId
is the Fleaflicker league ID. Returns
all information availabile for the league from a single request.
season
is the year.
flea.league.get('mlb', 13157, 2014, function(err, league){
if (err) { return console.log('Handle Errors', err); }
// See below for returned league object
console.log(league);
});
{
id: number,
name: string,
commish: string,
type: string,
slots: {
total: number,
available: number,
taken: number
},
stats: [string]
// array of teams scraped from the league
teams: [{
name: string
rank: number
points: number,
link: string,
id: number,
owner: {
name: string,
link: string
},
stats: {
// One key for each stat type in a league
type: {
points: number,
value: number
},
...
},
}, ... ]
}
leagueType
is the Fleaflicker league ('nhl', 'mlb', etc.).
leagueId
is the Fleaflicker league ID.
teamId
is the Fleaflicker league ID. Returns
all information availabile for the team from a single request.
season
is the year.
flea.team.get('nhl', 1800, 10370, 2014, function(err, team){
if (err) { return console.log('Handle Errors', err); }
// See below for returned draft object
console.log(draft);
});
{
id: number,
name: string,
owner: string,
points: number,
players: [{
name: string,
totalPoints: number,
avgPoints: number
}, ...]
}
leagueType
is the Fleaflicker league ('nhl', 'mlb', etc.).
leagueId
is the Fleaflicker league ID. Returns
all information availabile for the league from a single request.
season
is the year.
flea.draft.get('mlb', 13157, 2014, function(err, draft){
if (err) { return console.log('Handle Errors', err); }
// See below for returned draft object
console.log(draft);
});
{
league: {
id: number,
name: string
},
// array of picks from the draft
picks: [{
round: number,
pick: {
// Overall draft number
overall: number,
// Round specific draft number
round: number
},
team: {
id: number,
name: string
},
player: {
id: number,
name: string
}
}, ...]
}
FAQs
Fleaflicker Baseball API
The npm package flea-killer receives a total of 10 weekly downloads. As such, flea-killer popularity was classified as not popular.
We found that flea-killer 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.