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.
Flexible and fluent interface finding files in the cloud
npm install --save cloudhound
import {S3Hound} from 'cloudhound';
const objects = await S3Hound.newQuery({ bucket: 'myBucket' })
.prefix('csv')
.limit(50)
.find();
console.log(objects);
For more examples and API details, see API documentation
npm test
To generate a test coverage report:
npm run coverage
- Bump the version number in package.json
npm version patch|minor|major
. - Commit and push to main.
- Run
npm run no-npm
.