npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

@code.gov/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

install

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

Downloadsweekly downloads

11

version

1.1.6

license

CC0-1.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability