npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@rainbow-o23/n8

v1.0.36

Published

o23 aws

Downloads

187

Readme

Static Badge

Amazon S3

Module Formats

o23/n8

o23/n8 provides the pipeline steps related to AWS.

AWS Credential Identity Environment Parameters

| Name | Type | Default Value | Comments | |--------------------------------------|--------|---------------|-------------------------------| | aws.client.CLIENT.access.key | string | | AWS credential access key. | | aws.client.CLIENT.secret.key | string | | AWS credential secret key. | | aws.client.CLIENT.session.token | string | | AWS credential session token. | | aws.client.CLIENT.credential.scope | string | | AWS credential scope. |

AWS Region Step Environment Parameters

| Name | Type | Default Value | Comments | |----------------------------|--------|---------------|-------------| | aws.client.CLIENT.region | string | | AWS region. |

AWS S3 Steps

S3 pipeline steps are actually a simple wrapper for the AWS SDK, so their parameters and returns follow the specifications of @aws-sdk/client-s3.

Environment Parameters

| Name | Type | Default Value | Comments | |-----------------------------|--------|---------------|--------------| | aws.s3.CLIENT.client.type | string | default | Client type. |

CLIENT represents client name.

Use RegionClientManager.registerS3ClientCreator to register client creator.

Default

When aws.s3.CLIENT.client.type=default or not presents:

| Name | Type | Default Value | Comments | |------------------------|--------|---------------|------------------| | aws.s3.CLIENT.bucket | string | | AWS bucket name. |

default client type read AWS credential identity and region environment parameters.

Constructor Parameters

| Name | Type | Default Value | Comments | |------------|--------|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------| | clientName | string | | S3 client name, used for reading related configuration information. | | bucketName | string | | S3 bucket name, if not set, it will attempt to use the client's configuration for reading; or it can also be passed during the execution of the steps. |

Request and Response

export interface AbstractS3PipelineStepInFragment {
	Bucket?: string | undefined;
}

export interface AbstractS3PipelineStepOutFragment {
}

Get Object Step

Constructor Parameters

| Name | Type | Default Value | Comments | |----------------|---------|---------------|----------------------------------------------| | contentAs | string | | Read object content as string or buffer. | | ignoreNotFound | boolean | false | Ignore error when object not found. |

Request and Response

export type S3GetObjectPipelineStepInFragment = AbstractS3PipelineStepInFragment & GetObjectCommandInput;
export type S3GetObjectPipelineStepOutFragment = AbstractS3PipelineStepOutFragment & GetObjectCommandOutput;

Put Object Step

Request and Response

export type S3PutObjectPipelineStepInFragment = AbstractS3PipelineStepInFragment & PutObjectCommandInput;
export type S3PutObjectPipelineStepOutFragment = AbstractS3PipelineStepOutFragment & PutObjectCommandOutput;

Delete Object Step

Request and Response

export type S3DeleteObjectPipelineStepInFragment = AbstractS3PipelineStepInFragment & DeleteObjectCommandInput;
export type S3DeleteObjectPipelineStepOutFragment = AbstractS3PipelineStepOutFragment & DeleteObjectCommandOutput;

List Objects Step

Request and Response

export type S3ListObjectsPipelineStepInFragment = AbstractS3PipelineStepInFragment & ListObjectsV2CommandInput;
export type S3ListObjectsPipelineStepOutFragment = AbstractS3PipelineStepOutFragment & ListObjectsV2CommandOutput;