Package Exports
- blood-donor
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (blood-donor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
blood-donor

Donors for a blood type.
Installation
$ npm install --save blood-donorUsage
var bloodDonor = require('blood-donor');
bloodDonor('B+ve', function (err, data) {
console.log(data);
});
/* =>
{ ideal: 'B+ve',
donors: [ 'B+ve', 'O+ve' ],
criticalDonors: [ 'B-ve', 'O-ve' ] }
*/CLI
$ npm install --global blood-donor$ blood-donor b+ve
Ideal donor: B+ve
Donors: B+ve or O+ve
Crital Donors (Rh+): B-ve or O-ve

License
MIT © Hemanth.HM