
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
A mixin module for Duel that puts roundName function on the Duel class prototype that outputs the normal english names for duel rounds. This is here, rather than inside the duel repository for easy internationalization.
Mixin with the Duel class:
var Duel = require('duel');
var duelNames = require('duel-names');
Duel.attachNames(duelNames(require('duel-names/english')));
var d = new Duel(4, { last: Duel.WB });
d.roundName(d.matches[3].id);
'Bronze Final';
d.roundName(d.matches[2].id);
'Grand Final'
You can pass in a full match id, or a partial Id. The id must minimally contain { s: bracket, r: round }.
Add a language file, consider submitting it to this repo (but with tests please), or just maintain the language file yourself.
MIT-Licensed. See LICENSE file for details.
FAQs
Duel round names mixin for Duel tournaments
We found that duel-names 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.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.