@adobe/content-lake-extractors-shared
v3.1.16
Published
Content Lake - Extractors Shared
Downloads
211
Maintainers
Keywords
Readme
Content Lake - Extractors Shared
Shared libraries for extractors
Status
Installation
$ npm install @adobe/content-lake-extractors-shared
Usage
See the API documentation.
Mocks
This library provides mocks. Mocks can be imported and used as follows:
import { mocks } from '@adobe/content-lake-extractors-shared';
[...]
const mockSettingsStore = new mocks.MockSettingsStore();
Development
Build
$ npm install
Test
$ npm test
Integration Test
The integration tests require the following environment variables which can be set via a .env file:
AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_ACCESS_SECRET_KEY=
QUEUE_URL=
QUEUE_STORAGE_BUCKET=
$ npm run test:integration
Lint
$ npm run lint
Run all
Optionally you can use Make to run all the local build commands:
$ make
Make is available on most *nix environments can be installed on Mac via homebrew