Skip to content

AnneTheDev/nobelprize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nobel Prize data parser

This Node.js module allows the users to parse and query the Nobel Prize winners data set.

Installation

You can install the module from npm:

$ npm install nobelprize

Usage

First, you have to import the Parser constructor:

const Parser = require('nobelprizeparser');

Then, you can pass the Nobel Prize data to the constructor:

const parser = new Parser(data);

Finally, you can query the data set using methods of the Parser class:

console.table(parser.inYear(2001));

Samples

This repo contains two samples that illustrate how to use the Parser class.

About

Nobel Prize data parser

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published