# fpds-atom

> JavaScript library for nodejs and browser to search though FPDS.GOV ATOM Feed

Latest version **1.0.2** (published 2017-02-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install fpds-atom
pnpm add fpds-atom
yarn add fpds-atom
bun add fpds-atom
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-02-16 |
| First published | 2017-02-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Faheem Memon |
| Maintainers | faheemitian |
| Keywords | fpds.gov, fpds, gsa, iae, fedgov, federal, usa |

## Links

- npm: https://www.npmjs.com/package/fpds-atom
- Repository: https://github.com/NuAxis/fpds-atom
- Homepage: https://github.com/NuAxis/fpds-atom#readme
- Issues: https://github.com/NuAxis/fpds-atom/issues
- npm.io page: https://npm.io/package/fpds-atom

## Dependencies (3)

- [xhr](https://npm.io/package/xhr.md) 2.3.2
- [xml2js](https://npm.io/package/xml2js.md) 0.4.17
- [request](https://npm.io/package/request.md) 2.79.0

## Recent versions

- 1.0.2 (latest) — 2017-02-16
- 1.0.1 — 2017-02-16

## README

# fpds-atom
JavaScript library for nodejs to search through FPDS.GOV  ATOM Feed

    npm install fpds-atom

# Interfaces
```javascript
var FPDS = require('fpds-atom');

FPDS.getAwardsByVendor('vendor', function(error, awards) {});
FPDS.getAwardsByContractID('contractID', function(error, awards) {});
FPDS.getAwards('param:value', function(error, awards) {});
```

# Example Usage
```javascript
'use strict';
var FPDS = require('../index').FPDS;
var contractID = 'DOLOPS15T00043';

FPDS.getAwardsByContractID(contractID, function(error, awards) {
  if(!error && awards.length > 0) {
    awards.forEach(function(award) {
      console.log('Contract ID:' + award.awardID.awardContractID.PIID);
      console.log('Vendor:' + award.vendor.vendorName);
      console.log('Mod:' + award.awardID.awardContractID.modNumber);
      console.log('Effective Date: ' + award.relevantContractDates.effectiveDate);
    });
  } else {
    console.log(error);
  }
});
```
# Build

    npm test

---
_Source: https://npm.io/package/fpds-atom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
