{"id":15710350,"url":"https://github.com/aws/aws-iot-device-sdk-js-v2","last_synced_at":"2025-05-14T18:06:24.070Z","repository":{"id":37957445,"uuid":"157452019","full_name":"aws/aws-iot-device-sdk-js-v2","owner":"aws","description":"Next generation AWS IoT Client SDK for Node.js using the AWS Common Runtime","archived":false,"fork":false,"pushed_at":"2025-05-05T18:36:06.000Z","size":3122,"stargazers_count":231,"open_issues_count":15,"forks_count":103,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-05-08T00:07:58.161Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aws.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-11-13T21:51:58.000Z","updated_at":"2025-05-03T12:46:09.000Z","dependencies_parsed_at":"2023-10-10T20:58:32.174Z","dependency_job_id":"881ce574-e4c1-409a-a424-7e25f4d81392","html_url":"https://github.com/aws/aws-iot-device-sdk-js-v2","commit_stats":{"total_commits":291,"total_committers":32,"mean_commits":9.09375,"dds":0.7353951890034365,"last_synced_commit":"2d189a21fe7e5f4e69061176e0d9186994a56882"},"previous_names":[],"tags_count":95,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-iot-device-sdk-js-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-iot-device-sdk-js-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-iot-device-sdk-js-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-iot-device-sdk-js-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws","download_url":"https://codeload.github.com/aws/aws-iot-device-sdk-js-v2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198514,"owners_count":22030965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-10-03T21:06:30.632Z","updated_at":"2025-05-14T18:06:19.053Z","avatar_url":"https://github.com/aws.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS IoT Device SDK for JavaScript v2\n\nThis document provides information about the AWS IoT device SDK for Javascript V2. This SDK is built on the [AWS Common Runtime](https://docs.aws.amazon.com/sdkref/latest/guide/common-runtime.html)\n\n*__Jump To:__*\n* [Installation](#installation)\n* [Samples](https://github.com/aws/aws-iot-device-sdk-js-v2/tree/main/samples)\n* [Mac-Only TLS Behavior](#mac-only-tls-behavior)\n* [Getting Help](#getting-help)\n* [FAQ](https://github.com/aws/aws-iot-device-sdk-js-v2/blob/main/documents/FAQ.md)\n* [API Docs](https://aws.github.io/aws-iot-device-sdk-js-v2/)\n* [MQTT5 User Guide](https://github.com/awslabs/aws-crt-nodejs/blob/main/MQTT5-UserGuide.md)\n* [Migration Guide from the AWS IoT SDK for JavaScript v1](./documents/MIGRATION_GUIDE.md)\n\n## Installation\n\n### Minimum Requirements\n\nFor use with Node, the following are required:\n* Node v14+\n  * Run `node -v` to check Node version.\n* CMake 3.1+\n\n[Step-by-step instructions](https://github.com/aws/aws-iot-device-sdk-js-v2/blob/main/documents/PREREQUISITES.md)\n\n### Build SDK in existing project with NPM\n``` sh\n# Navigate to the Javascript project you want to add the\n# Javascript V2 SDK to.\ncd \u003cyour javascript project here\u003e\n# Install the V2 SDK.\nnpm install aws-iot-device-sdk-v2\n# Now you can use the Javascript V2 SDK in your project.\n```\n\n### Build the V2 SDK from source\n\n``` sh\n# Create a workspace directory to hold all the SDK files.\nmkdir sdk-workspace\ncd sdk-workspace\n\n# Clone the repository to access the samples.\ngit clone https://github.com/aws/aws-iot-device-sdk-js-v2.git\n\n# Install the SDK.\ncd aws-iot-device-sdk-js-v2\nnpm install\n\n# Then you can run the samples following the instructions in the samples README.\n```\n\n## Samples\n\n[Samples README](https://github.com/aws/aws-iot-device-sdk-js-v2/blob/main/samples/README.md)\n\n### Mac-Only TLS Behavior\n\nPlease note that on Mac, once a private key is used with a certificate, that certificate-key pair is imported into the Mac Keychain.  All subsequent uses of that certificate will use the stored private key and ignore anything passed in programmatically.  Beginning in v1.7.3, when a stored private key from the Keychain is used, the following will be logged at the \"info\" log level:\n\n```\nstatic: certificate has an existing certificate-key pair that was previously imported into the Keychain.  Using key from Keychain instead of the one provided.\n```\n\n## Getting Help\n\nThe best way to interact with our team is through GitHub. You can open a [discussion](https://github.com/aws/aws-iot-device-sdk-js-v2/discussions) for guidance questions or an [issue](https://github.com/aws/aws-iot-device-sdk-js-v2/issues/new/choose) for bug reports, or feature requests. You may also find help on community resources such as [StackOverFlow](https://stackoverflow.com/questions/tagged/aws-iot) with the tag [#aws-iot](https://stackoverflow.com/questions/tagged/aws-iot) or if you have a support plan with [AWS Support](https://aws.amazon.com/premiumsupport/), you can also create a new support case.\n\nPlease make sure to check out our resources too before opening an issue:\n\n*  [FAQ](https://github.com/aws/aws-iot-device-sdk-js-v2/blob/main/documents/FAQ.md)\n* [API Docs](https://aws.github.io/aws-iot-device-sdk-js-v2/)\n* [IoT Guide](https://docs.aws.amazon.com/iot/latest/developerguide/what-is-aws-iot.html) ([source](https://github.com/awsdocs/aws-iot-docs))\n* [MQTT5 User Guide](https://github.com/awslabs/aws-crt-nodejs/blob/main/MQTT5-UserGuide.md)\n* Check for similar [Issues](https://github.com/aws/aws-iot-device-sdk-js-v2/issues)\n* [AWS IoT Core Documentation](https://docs.aws.amazon.com/iot/)\n* [Dev Blog](https://aws.amazon.com/blogs/?awsf.blog-master-iot=category-internet-of-things%23amazon-freertos%7Ccategory-internet-of-things%23aws-greengrass%7Ccategory-internet-of-things%23aws-iot-analytics%7Ccategory-internet-of-things%23aws-iot-button%7Ccategory-internet-of-things%23aws-iot-device-defender%7Ccategory-internet-of-things%23aws-iot-device-management%7Ccategory-internet-of-things%23aws-iot-platform)\n* Integration with AWS IoT Services such as\n[Device Shadow](https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html)\nand [Jobs](https://docs.aws.amazon.com/iot/latest/developerguide/iot-jobs.html)\nis provided by code that been generated from a model of the service.\n* [Contributions Guidelines](https://github.com/aws/aws-iot-device-sdk-js-v2/blob/main/documents/CONTRIBUTING.md)\n\n## License\n\nThis library is licensed under the [Apache 2.0 License](https://github.com/aws/aws-iot-device-sdk-js-v2/blob/main/documents/LICENSE).\n\nLatest released version: v1.21.3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-iot-device-sdk-js-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws%2Faws-iot-device-sdk-js-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-iot-device-sdk-js-v2/lists"}