{"analyzedAt":"2023-01-05T20:36:48.060Z","collected":{"metadata":{"name":"@aws-sdk/client-license-manager","scope":"aws-sdk","version":"3.245.0","description":"AWS SDK for JavaScript License Manager Client for Node.js, Browser and React Native","date":"2023-01-05T20:07:21.147Z","author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"publisher":{"username":"aws-sdk-bot","email":"aws-sdk-js-automation@amazon.com"},"maintainers":[{"username":"mattsb42-aws","email":"bullocm@amazon.com"},{"username":"kuhe","email":"george.jing.fu+npm@gmail.com"},{"username":"amzn-oss","email":"osa-3p@amazon.com"},{"username":"aws-sdk-bot","email":"aws-sdk-js-automation@amazon.com"},{"username":"trivikr-aws","email":"trivikr@amazon.com"}],"repository":{"type":"git","url":"git+https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-license-manager"},"links":{"npm":"https://www.npmjs.com/package/%40aws-sdk%2Fclient-license-manager","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-license-manager","repository":"https://github.com/aws/aws-sdk-js-v3","bugs":"https://github.com/aws/aws-sdk-js-v3/issues"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/client-sts":"3.245.0","@aws-sdk/config-resolver":"3.234.0","@aws-sdk/credential-provider-node":"3.245.0","@aws-sdk/fetch-http-handler":"3.226.0","@aws-sdk/hash-node":"3.226.0","@aws-sdk/invalid-dependency":"3.226.0","@aws-sdk/middleware-content-length":"3.226.0","@aws-sdk/middleware-endpoint":"3.226.0","@aws-sdk/middleware-host-header":"3.226.0","@aws-sdk/middleware-logger":"3.226.0","@aws-sdk/middleware-recursion-detection":"3.226.0","@aws-sdk/middleware-retry":"3.235.0","@aws-sdk/middleware-serde":"3.226.0","@aws-sdk/middleware-signing":"3.226.0","@aws-sdk/middleware-stack":"3.226.0","@aws-sdk/middleware-user-agent":"3.226.0","@aws-sdk/node-config-provider":"3.226.0","@aws-sdk/node-http-handler":"3.226.0","@aws-sdk/protocol-http":"3.226.0","@aws-sdk/smithy-client":"3.234.0","@aws-sdk/types":"3.226.0","@aws-sdk/url-parser":"3.226.0","@aws-sdk/util-base64":"3.208.0","@aws-sdk/util-body-length-browser":"3.188.0","@aws-sdk/util-body-length-node":"3.208.0","@aws-sdk/util-defaults-mode-browser":"3.234.0","@aws-sdk/util-defaults-mode-node":"3.234.0","@aws-sdk/util-endpoints":"3.245.0","@aws-sdk/util-retry":"3.229.0","@aws-sdk/util-user-agent-browser":"3.226.0","@aws-sdk/util-user-agent-node":"3.226.0","@aws-sdk/util-utf8-browser":"3.188.0","@aws-sdk/util-utf8-node":"3.208.0","tslib":"^2.3.1"},"devDependencies":{"@aws-sdk/service-client-documentation-generator":"3.208.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typedoc":"0.19.2","typescript":"~4.6.2"},"releases":[{"from":"2022-12-06T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":8},{"from":"2022-10-07T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":34},{"from":"2022-07-09T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":61},{"from":"2022-01-05T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":100},{"from":"2021-01-05T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":149}],"hasSelectiveFiles":true,"readme":"<!-- generated file, do not edit directly -->\n\n# @aws-sdk/client-license-manager\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-license-manager/latest.svg)](https://www.npmjs.com/package/@aws-sdk/client-license-manager)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-license-manager.svg)](https://www.npmjs.com/package/@aws-sdk/client-license-manager)\n\n## Description\n\nAWS SDK for JavaScript LicenseManager Client for Node.js, Browser and React Native.\n\n<p>License Manager makes it easier to manage licenses from software vendors across multiple\nAmazon Web Services accounts and on-premises servers.</p>\n\n## Installing\n\nTo install the this package, simply type add or install @aws-sdk/client-license-manager\nusing your favorite package manager:\n\n- `npm install @aws-sdk/client-license-manager`\n- `yarn add @aws-sdk/client-license-manager`\n- `pnpm add @aws-sdk/client-license-manager`\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands.\nTo send a request, you only need to import the `LicenseManagerClient` and\nthe commands you need, for example `AcceptGrantCommand`:\n\n```js\n// ES5 example\nconst { LicenseManagerClient, AcceptGrantCommand } = require(\"@aws-sdk/client-license-manager\");\n```\n\n```ts\n// ES6+ example\nimport { LicenseManagerClient, AcceptGrantCommand } from \"@aws-sdk/client-license-manager\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region).\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```js\n// a client can be shared by different commands.\nconst client = new LicenseManagerClient({ region: \"REGION\" });\n\nconst params = {\n  /** input parameters */\n};\nconst command = new AcceptGrantCommand(params);\n```\n\n#### Async/await\n\nWe recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)\noperator to wait for the promise returned by send operation as follows:\n\n```js\n// async/await.\ntry {\n  const data = await client.send(command);\n  // process data.\n} catch (error) {\n  // error handling.\n} finally {\n  // finally.\n}\n```\n\nAsync-await is clean, concise, intuitive, easy to debug and has better error handling\nas compared to using Promise chains or callbacks.\n\n#### Promises\n\nYou can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)\nto execute send operation.\n\n```js\nclient.send(command).then(\n  (data) => {\n    // process data.\n  },\n  (error) => {\n    // error handling.\n  }\n);\n```\n\nPromises can also be called using `.catch()` and `.finally()` as follows:\n\n```js\nclient\n  .send(command)\n  .then((data) => {\n    // process data.\n  })\n  .catch((error) => {\n    // error handling.\n  })\n  .finally(() => {\n    // finally.\n  });\n```\n\n#### Callbacks\n\nWe do not recommend using callbacks because of [callback hell](http://callbackhell.com/),\nbut they are supported by the send operation.\n\n```js\n// callbacks.\nclient.send(command, (err, data) => {\n  // process err and data.\n});\n```\n\n#### v2 compatible style\n\nThe client can also send requests using v2 compatible style.\nHowever, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post\non [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)\n\n```ts\nimport * as AWS from \"@aws-sdk/client-license-manager\";\nconst client = new AWS.LicenseManager({ region: \"REGION\" });\n\n// async/await.\ntry {\n  const data = await client.acceptGrant(params);\n  // process data.\n} catch (error) {\n  // error handling.\n}\n\n// Promises.\nclient\n  .acceptGrant(params)\n  .then((data) => {\n    // process data.\n  })\n  .catch((error) => {\n    // error handling.\n  });\n\n// callbacks.\nclient.acceptGrant(params, (err, data) => {\n  // process err and data.\n});\n```\n\n### Troubleshooting\n\nWhen the service returns an exception, the error will include the exception information,\nas well as response metadata (e.g. request id).\n\n```js\ntry {\n  const data = await client.send(command);\n  // process data.\n} catch (error) {\n  const { requestId, cfId, extendedRequestId } = error.$$metadata;\n  console.log({ requestId, cfId, extendedRequestId });\n  /**\n   * The keys within exceptions are also parsed.\n   * You can access them by specifying exception names:\n   * if (error.name === 'SomeServiceException') {\n   *     const value = error.specialKeyInException;\n   * }\n   */\n}\n```\n\n## Getting Help\n\nPlease use these community resources for getting help.\nWe use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.\n\n- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)\n  or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).\n- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)\n  on AWS Developer Blog.\n- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`.\n- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3).\n- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose).\n\nTo test your universal JavaScript code in Node.js, browser and react-native environments,\nvisit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests).\n\n## Contributing\n\nThis client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-license-manager` package is updated.\nTo contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients).\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information."},"npm":{"downloads":[{"from":"2023-01-04T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":23},{"from":"2022-12-29T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":214},{"from":"2022-12-06T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":1348},{"from":"2022-10-07T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":4950},{"from":"2022-07-09T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":10236},{"from":"2022-01-05T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":16593}],"starsCount":0},"github":{"starsCount":2062,"forksCount":396,"subscribersCount":41,"issues":{"count":4179,"openCount":372,"distribution":{"3600":614,"10800":354,"32400":237,"97200":570,"291600":413,"874800":489,"2624400":389,"7873200":324,"23619600":322,"70858800":455,"212576400":12},"isDisabled":false},"contributors":[{"username":"trivikr","commitsCount":1189},{"username":"AllanZhengYP","commitsCount":476},{"username":"jeskew","commitsCount":143},{"username":"srchase","commitsCount":107},{"username":"kuhe","commitsCount":96},{"username":"dependabot-preview[bot]","commitsCount":72},{"username":"kstich","commitsCount":64},{"username":"alexforsyth","commitsCount":43},{"username":"JordonPhillips","commitsCount":37},{"username":"chrisradek","commitsCount":27},{"username":"gosar","commitsCount":25},{"username":"adamthom-amzn","commitsCount":23},{"username":"dependabot[bot]","commitsCount":22},{"username":"greenkeeper[bot]","commitsCount":10},{"username":"mtdowling","commitsCount":10},{"username":"ajredniwja","commitsCount":4},{"username":"TysonAndre","commitsCount":4},{"username":"siddsriv","commitsCount":4},{"username":"AndrewFossAWS","commitsCount":4},{"username":"eduardomourar","commitsCount":4},{"username":"christophgysin","commitsCount":3},{"username":"mhassan1","commitsCount":3},{"username":"seebees","commitsCount":2},{"username":"workeitel","commitsCount":2},{"username":"inokawa","commitsCount":2},{"username":"JPeer264","commitsCount":2},{"username":"samchungy","commitsCount":2},{"username":"syall","commitsCount":2},{"username":"eladb","commitsCount":1},{"username":"devanp92","commitsCount":1},{"username":"matsev","commitsCount":1},{"username":"nihalgonsalves","commitsCount":1},{"username":"ronak2121","commitsCount":1},{"username":"Amplifiyer","commitsCount":1},{"username":"tkashi","commitsCount":1},{"username":"garrettheel","commitsCount":1},{"username":"russell-dot-js","commitsCount":1},{"username":"sansthesis","commitsCount":1},{"username":"vvo","commitsCount":1},{"username":"blakeembrey","commitsCount":1},{"username":"hmaurer","commitsCount":1},{"username":"jblz","commitsCount":1},{"username":"rvaronos","commitsCount":1},{"username":"justingrant","commitsCount":1},{"username":"brmur","commitsCount":1},{"username":"mhart","commitsCount":1},{"username":"EricCrosson","commitsCount":1},{"username":"ShogunPanda","commitsCount":1},{"username":"vecerek","commitsCount":1},{"username":"samsullivan","commitsCount":1},{"username":"jrnewton","commitsCount":1},{"username":"pdcarroll","commitsCount":1},{"username":"blake-transcend","commitsCount":1},{"username":"ocxo","commitsCount":1},{"username":"audionerd","commitsCount":1},{"username":"dsmrt","commitsCount":1},{"username":"pkit","commitsCount":1},{"username":"kripod","commitsCount":1},{"username":"turneand","commitsCount":1},{"username":"felipecesr","commitsCount":1},{"username":"tuarrep","commitsCount":1},{"username":"pratikpc","commitsCount":1},{"username":"PaulThompson","commitsCount":1},{"username":"LipiLee","commitsCount":1},{"username":"ejhayes","commitsCount":1},{"username":"pauldraper","commitsCount":1},{"username":"RianFuro","commitsCount":1},{"username":"itscharlieliu","commitsCount":1},{"username":"yoshinorin","commitsCount":1},{"username":"cainaleaouk","commitsCount":1},{"username":"allenluce","commitsCount":1},{"username":"neverendingqs","commitsCount":1},{"username":"TreTuna","commitsCount":1},{"username":"aaroncowie","commitsCount":1},{"username":"voidus","commitsCount":1},{"username":"Linkgoron","commitsCount":1},{"username":"roschaefer","commitsCount":1},{"username":"kgoedecke","commitsCount":1},{"username":"markbrouch","commitsCount":1},{"username":"atpollmann","commitsCount":1},{"username":"akiomik","commitsCount":1},{"username":"CommanderRoot","commitsCount":1},{"username":"dev-slatto","commitsCount":1},{"username":"simonbuchan","commitsCount":1},{"username":"keithalpichi","commitsCount":1},{"username":"tzkz","commitsCount":1},{"username":"kellertk","commitsCount":1},{"username":"jgoeglein","commitsCount":1},{"username":"Kikobeats","commitsCount":1},{"username":"Fzlw","commitsCount":1},{"username":"lew-gordon","commitsCount":1},{"username":"WassimBenzarti","commitsCount":1},{"username":"dustin-lennon","commitsCount":1},{"username":"DanielBauman88","commitsCount":1},{"username":"ZeroCho","commitsCount":1},{"username":"sravimohan","commitsCount":1},{"username":"stephank","commitsCount":1},{"username":"addy","commitsCount":1},{"username":"thaddmt","commitsCount":1},{"username":"Lewenhaupt","commitsCount":1}],"commits":[{"from":"2022-12-29T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":18},{"from":"2022-12-06T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":147},{"from":"2022-10-07T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":607},{"from":"2022-07-09T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":1096},{"from":"2022-01-05T00:00:00.000Z","to":"2023-01-05T00:00:00.000Z","count":1774}],"statuses":[{"context":"github/pages","state":"success"}]},"source":{"files":{"readmeSize":6100,"testsSize":3729794,"hasChangelog":true},"badges":[{"urls":{"original":"https://img.shields.io/npm/v/@aws-sdk/client-license-manager/latest.svg","shields":"https://img.shields.io/npm/v/@aws-sdk/client-license-manager/latest.svg","content":"https://img.shields.io/npm/v/@aws-sdk/client-license-manager/latest.json"},"info":{"service":"npm","type":"version","modifiers":{"type":"v"}}},{"urls":{"original":"https://img.shields.io/npm/dm/@aws-sdk/client-license-manager.svg","shields":"https://img.shields.io/npm/dm/@aws-sdk/client-license-manager.svg","content":"https://img.shields.io/npm/dm/@aws-sdk/client-license-manager.json"},"info":{"service":"npm","type":"downloads","modifiers":{"type":"dm"}}}],"linters":["eslint","prettier"],"coverage":0.79,"outdatedDependencies":{"@aws-crypto/sha256-browser":{"required":"2.0.0","stable":"2.0.2","latest":"2.0.2"},"@aws-crypto/sha256-js":{"required":"2.0.0","stable":"2.0.2","latest":"2.0.2"}}}},"evaluation":{"quality":{"carefulness":0.9999999999999999,"tests":0.6685000000000001,"health":0.8888888888888888,"branding":0.3},"popularity":{"communityInterest":2599,"downloadsCount":1650,"downloadsAcceleration":2.719863013698628,"dependentsCount":0},"maintenance":{"releasesFrequency":1,"commitsFrequency":1,"openIssues":1,"issuesDistribution":0.43374030016038884}},"score":{"final":0.7075567677041001,"detail":{"quality":0.9509426715906093,"popularity":0.21561195110245784,"maintenance":0.9908850952601633}}}