Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Latest commit

 

History

History
53 lines (37 loc) · 1.32 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.32 KB

Archived

We are archiving this repo as the s3 key lister will be taking over from cloudhound https://github.com/bbc/iplayer-catalogue/tree/main/libs/s3-key-lister.

Cloudhound

npm Build Status Coverage Status license github-issues

Flexible and fluent interface finding files in the cloud

Installation

npm install --save cloudhound

Usage

import {S3Hound} from 'cloudhound';

const objects = await S3Hound.newQuery({ bucket: 'myBucket' })
  .prefix('csv')
  .limit(50)
  .find();

console.log(objects);

Documentation

For more examples and API details, see API documentation

Test

npm test

To generate a test coverage report:

npm run coverage

Contributing

See contributing guide

Releasing

  1. Bump the version number in package.json npm version patch|minor|major.
  2. Commit and push to main.
  3. Run npm run no-npm.