bjbhatt-code-gov-adapter

1.1.6 • 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

/bjbhatt-code-gov-adapter/

    Package Sidebar

    Install

    npm i bjbhatt-code-gov-adapter

    Weekly Downloads

    1

    Version

    1.1.6

    License

    CC0-1.0

    Unpacked Size

    57.3 kB

    Total Files

    19

    Last publish

    Collaborators

    • bjbhatt