Skip to content

mrloop/race-lib

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CI Latest NPM release

⚙ race-lib

Retrieve event data from britishcycling.org

import { Event, setup } from 'race-lib';
import cheerio from 'cheerio';

setup({ cheerio });

Event.upcomming().then(events => {
  events.forEach( evt => console.log(evt.name));
});

See race-cli for example of usage in node and race-ext for browser usage.