Get unlimited public & private packages + team-based management with npm Teams.Learn more »

@code.gov/code-gov-adapter

1.1.7 • Public • Published

Code.gov Adapters

A collection of adapters used by Code.gov.

Adapters

Any number of adapters can be added, for any use. Primary adapters will be for Elasticsearch and databases.

Elasticsearch

The primary adapter for Code.gov. This adapter will expose a limited amount of Elasticsearch's API.

  1. createIndex
  2. deleteIndex
  3. indexExists
  4. indexDocument
  5. updateDocument
  6. deleteDocument
  7. getIndexesForAlias
  8. initIndexMapping
  9. initIndexSettings
  10. search

Install

npm i @code.gov/code-gov-adapters

Install

npm i @code.gov/code-gov-adapter

DownloadsWeekly Downloads

13

Version

1.1.7

License

CC0-1.0

Unpacked Size

55.4 kB

Total Files

19

Last publish

Collaborators

  • avatar
  • avatar
  • avatar