Back to Aws Doc Sdk Examples

AWS CodeCommit JavaScript SDK v3 code examples

javascriptv3/example_code/codecommit/README.md

latest2.1 KB
Original Source

AWS CodeCommit JavaScript SDK v3 code examples

AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories.

Code examples

This is a workspace where you can find the following AWS SDK for JavaScript version 3 (v3) AWS CodeBuild examples:

Note: All code examples are written in ECMAscript 6 (ES6). For guidelines on converting to CommonJS, see JavaScript ES6/CommonJS syntax.

Getting started

  1. Clone the AWS SDK Code Samples repo to your local environment. See the Github documentation for instructions.

  2. Install the dependencies listed in the package.json.

npm install node -g
cd javascriptv3/example_code/codecommit
npm install
  1. In your text editor, update user variables specified in the Inputs section of the sample file.

  2. Run sample code:

cd src
node [example name].js

Unit tests

For more information see, the README.

Resources