New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

appuri-highwatermark

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appuri-highwatermark

S3 based high water mark storage for Appuri Event Loaders

  • 0.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
2
Weekly downloads
 
Created
Source

node-appuri-highwatermark

This module uses s3 to store the high water mark for an Appuri event loader.

API

put(bucket, key, highwatermark)

Puts the stringified highwatermark object in S3 at bucket/key

get(bucket, key, options) -> Promise<object>

Fetch the S3 object at bucket/key then parse it as JSON, returning the object

Options:

  • default: When the key doesn't exist, this default is returned.
  • override: Do not fetch the key from S3 but return this instead
  • map: transform function to convert the object after it is parsed
  • isValid: A function to validate the watermark. Rejects the promise with an error if this returns false

delete(bucket, key)

Deletes the watermark at bucket/key

Keywords

FAQs

Package last updated on 10 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc