{"_id":"aws-ssl-profiles","_rev":"3618831","name":"aws-ssl-profiles","description":"AWS RDS SSL certificates bundles.","dist-tags":{"latest":"1.1.2"},"maintainers":[{"name":"sidorares","email":""},{"name":"weslley.io","email":""}],"time":{"modified":"2024-10-15T06:48:31.000Z","created":"2024-04-17T15:23:27.641Z","1.1.2":"2024-08-30T01:20:22.868Z","1.1.1":"2024-07-15T05:47:27.964Z","1.1.0":"2024-07-15T03:09:16.162Z","1.0.0":"2024-04-21T13:26:53.121Z","0.1.0":"2024-04-17T15:23:27.641Z"},"users":{},"author":{"name":"https://github.com/wellwelwel"},"repository":{"type":"git","url":"git+https://github.com/mysqljs/aws-ssl-profiles.git"},"versions":{"1.1.2":{"name":"aws-ssl-profiles","version":"1.1.2","main":"lib/index.js","author":{"name":"https://github.com/wellwelwel"},"description":"AWS RDS SSL certificates bundles.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/mysqljs/aws-ssl-profiles.git"},"bugs":{"url":"https://github.com/mysqljs/aws-ssl-profiles/issues"},"devDependencies":{"@biomejs/biome":"^1.8.3","@types/node":"^22.5.1","@types/x509.js":"^1.0.3","poku":"^2.5.0","prettier":"^3.3.3","tsx":"^4.19.0","typescript":"^5.5.4","x509.js":"^1.0.0"},"engines":{"node":">= 6.0.0"},"keywords":["mysql","mysql2","pg","postgres","aws","rds","ssl","certificates","ca","bundle"],"scripts":{"build":"npx tsc","postbuild":"cp src/index.d.ts lib/index.d.ts","lint":"npx @biomejs/biome lint && prettier --check .","lint:fix":"npx @biomejs/biome lint --write . && prettier --write .","pretest":"npm run build","test":"poku --parallel ./test","test:ci":"npm run lint && npm run test"},"_id":"aws-ssl-profiles@1.1.2","gitHead":"98d7cf207ea071b9b093c0fa3597d0902f028805","types":"./lib/index.d.ts","homepage":"https://github.com/mysqljs/aws-ssl-profiles#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"shasum":"157dd77e9f19b1d123678e93f120e6f193022641","size":89249,"noattachment":false,"key":"/aws-ssl-profiles/-/aws-ssl-profiles-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/aws-ssl-profiles/download/aws-ssl-profiles-1.1.2.tgz"},"_npmUser":{"name":"weslley.io","email":"w.eslley@ymail.com"},"directories":{},"maintainers":[{"name":"sidorares","email":""},{"name":"weslley.io","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-ssl-profiles_1.1.2_1724980822724_0.8019137951705613"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-30T01:20:22.868Z","publish_time":1724980822868,"_source_registry_name":"default","_cnpm_publish_time":1724980822868},"1.1.1":{"name":"aws-ssl-profiles","version":"1.1.1","main":"lib/index.js","author":{"name":"https://github.com/wellwelwel"},"description":"AWS RDS SSL certificates bundles.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/mysqljs/aws-ssl-profiles.git"},"bugs":{"url":"https://github.com/mysqljs/aws-ssl-profiles/issues"},"devDependencies":{"@biomejs/biome":"^1.8.3","@types/node":"^20.14.10","@types/x509.js":"^1.0.3","poku":"^2.0.0","prettier":"^3.3.3","tsx":"^4.16.2","typescript":"^5.5.3","x509.js":"^1.0.0"},"engines":{"node":">= 6.0.0"},"keywords":["mysql","mysql2","pg","postgres","aws","rds","ssl","certificates","ca","bundle"],"scripts":{"build":"npx tsc","postbuild":"cp src/index.d.ts lib/index.d.ts","lint":"npx @biomejs/biome lint && prettier --check .","lint:fix":"npx @biomejs/biome lint --write . && prettier --write .","pretest":"npm run build","test":"poku --parallel ./test","test:ci":"npm run lint && npm run test"},"_id":"aws-ssl-profiles@1.1.1","gitHead":"d8f28d397a6b948ac73d90113e1fe67f9265af4e","types":"./lib/index.d.ts","homepage":"https://github.com/mysqljs/aws-ssl-profiles#readme","_nodeVersion":"20.15.0","_npmVersion":"10.7.0","dist":{"shasum":"21ef8ad77d753927f6c01b144c5ef4cc4f150cdc","size":89252,"noattachment":false,"key":"/aws-ssl-profiles/-/aws-ssl-profiles-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/aws-ssl-profiles/download/aws-ssl-profiles-1.1.1.tgz"},"_npmUser":{"name":"weslley.io","email":"w.eslley@ymail.com"},"directories":{},"maintainers":[{"name":"sidorares","email":""},{"name":"weslley.io","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-ssl-profiles_1.1.1_1721022447801_0.3668274734703558"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-15T05:47:27.964Z","publish_time":1721022447964,"_source_registry_name":"default","_cnpm_publish_time":1721022447964},"1.1.0":{"name":"aws-ssl-profiles","version":"1.1.0","main":"lib/index.js","author":{"name":"https://github.com/wellwelwel"},"description":"AWS RDS SSL certificates bundles.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/mysqljs/aws-ssl-profiles.git"},"bugs":{"url":"https://github.com/mysqljs/aws-ssl-profiles/issues"},"devDependencies":{"@biomejs/biome":"^1.8.3","@types/x509.js":"^1.0.3","poku":"^2.0.0","prettier":"^3.3.3","tsx":"^4.16.2","typescript":"^5.5.3","x509.js":"^1.0.0"},"engines":{"node":">= 6.0.0"},"keywords":["mysql","mysql2","pg","postgres","aws","rds","ssl","certificates","ca","bundle"],"scripts":{"build":"npx tsc","lint":"npx @biomejs/biome lint && prettier --check .","lint:fix":"npx @biomejs/biome lint --write . && prettier --write .","test":"poku --parallel ./test","test:ci":"npm run lint && npm run build -- --noEmit && npm run test"},"_id":"aws-ssl-profiles@1.1.0","gitHead":"becb048901083d1c5b806cafce91dd2f96f9e8d7","types":"./lib/index.d.ts","homepage":"https://github.com/mysqljs/aws-ssl-profiles#readme","_nodeVersion":"20.15.0","_npmVersion":"10.7.0","dist":{"shasum":"f7854213ac3bb55d88ec5ce452351d817d1ba35f","size":89195,"noattachment":false,"key":"/aws-ssl-profiles/-/aws-ssl-profiles-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/aws-ssl-profiles/download/aws-ssl-profiles-1.1.0.tgz"},"_npmUser":{"name":"weslley.io","email":"w.eslley@ymail.com"},"directories":{},"maintainers":[{"name":"sidorares","email":""},{"name":"weslley.io","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-ssl-profiles_1.1.0_1721012956014_0.14544327071393015"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-15T03:09:16.162Z","publish_time":1721012956162,"_source_registry_name":"default","_cnpm_publish_time":1721012956162},"1.0.0":{"name":"aws-ssl-profiles","version":"1.0.0","main":"lib/index.js","author":{"name":"https://github.com/wellwelwel"},"description":"AWS RDS SSL certificates bundles.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/mysqljs/aws-ssl-profiles.git"},"bugs":{"url":"https://github.com/mysqljs/aws-ssl-profiles/issues"},"devDependencies":{"@types/node":"^20.12.7","@types/x509.js":"^1.0.3","@typescript-eslint/eslint-plugin":"^7.7.0","@typescript-eslint/parser":"^7.7.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-import-resolver-typescript":"^3.6.1","eslint-plugin-import":"^2.29.1","eslint-plugin-prettier":"^5.1.3","poku":"^1.9.3","prettier":"^3.2.5","tsx":"^4.7.2","typescript":"^5.4.5","x509.js":"^1.0.0"},"engines":{"node":">= 6.0.0"},"keywords":["mysql","mysql2","pg","postgres","aws","rds","ssl","certificates","ca","bundle"],"scripts":{"build":"npx tsc","lint":"eslint . --ext .js,.ts && prettier --check .","lint:fix":"eslint . --fix --config ./.eslintrc.json && prettier --write .","test":"poku --parallel ./test","test:ci":"npm run lint && npm run build -- --noEmit && npm run test"},"_id":"aws-ssl-profiles@1.0.0","gitHead":"7c93bec5e82ce4029f52d2b46d048f44e106e067","types":"./lib/index.d.ts","homepage":"https://github.com/mysqljs/aws-ssl-profiles#readme","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"shasum":"af08d2c5d9122eefdf93041b3cc803bd63393a86","size":85532,"noattachment":false,"key":"/aws-ssl-profiles/-/aws-ssl-profiles-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/aws-ssl-profiles/download/aws-ssl-profiles-1.0.0.tgz"},"_npmUser":{"name":"weslley.io","email":"w.eslley@ymail.com"},"directories":{},"maintainers":[{"name":"sidorares","email":""},{"name":"weslley.io","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-ssl-profiles_1.0.0_1713706012931_0.8357874343270244"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-21T13:26:53.121Z","publish_time":1713706013121,"_source_registry_name":"default","_cnpm_publish_time":1713706013121},"0.1.0":{"name":"aws-ssl-profiles","version":"0.1.0","main":"lib/index.js","author":{"name":"https://github.com/wellwelwel"},"description":"AWS RDS certificates bundles.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/mysqljs/aws-ssl-profiles.git"},"bugs":{"url":"https://github.com/mysqljs/aws-ssl-profiles/issues"},"devDependencies":{"@types/node":"^20.12.7","@types/x509.js":"^1.0.3","@typescript-eslint/eslint-plugin":"^7.7.0","@typescript-eslint/parser":"^7.7.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-import-resolver-typescript":"^3.6.1","eslint-plugin-import":"^2.29.1","eslint-plugin-prettier":"^5.1.3","poku":"^1.9.3","prettier":"^3.2.5","tsx":"^4.7.2","typescript":"^5.4.5","x509.js":"^1.0.0"},"engines":{"node":">= 6.0.0"},"scripts":{"build":"npx tsc","lint":"eslint . --ext .js,.ts && prettier --check .","lint:fix":"eslint . --fix --config ./.eslintrc.json && prettier --write .","test":"poku --parallel ./test","test:ci":"npm run lint && npm run build -- --noEmit && npm run test"},"_id":"aws-ssl-profiles@0.1.0","gitHead":"ffdaf1ddd74283a4f02d26a93e245afa1e4cfd82","types":"./lib/index.d.ts","homepage":"https://github.com/mysqljs/aws-ssl-profiles#readme","_nodeVersion":"21.7.3","_npmVersion":"10.5.2","dist":{"shasum":"5d5ff77c40aeda8b615e1b3495ac99361a0e9988","size":85526,"noattachment":false,"key":"/aws-ssl-profiles/-/aws-ssl-profiles-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/aws-ssl-profiles/download/aws-ssl-profiles-0.1.0.tgz"},"_npmUser":{"name":"weslley.io","email":"w.eslley@ymail.com"},"directories":{},"maintainers":[{"name":"sidorares","email":""},{"name":"weslley.io","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-ssl-profiles_0.1.0_1713367407436_0.1959272391632494"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-17T15:23:27.641Z","publish_time":1713367407641,"_source_registry_name":"default","_cnpm_publish_time":1713367407641}},"readme":"# AWS SSL Profiles\n\n[**AWS RDS**](https://aws.amazon.com/rds/) **SSL** Certificates Bundles.\n\n**Table of Contents**\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [**mysqljs/mysql**](#mysqljsmysql)\n  - [**MySQL2**](#mysql2)\n  - [**node-postgres**](#node-postgres)\n  - [Custom `ssl` options](#custom-ssl-options)\n- [License](#license)\n- [Security](#security)\n- [Contributing](#contributing)\n- [Acknowledgements](#acknowledgements)\n\n---\n\n## Installation\n\n```bash\nnpm install --save aws-ssl-profiles\n```\n\n---\n\n## Usage\n\n### [mysqljs/mysql](https://github.com/mysqljs/mysql)\n\n```js\nconst mysql = require('mysql');\nconst awsCaBundle = require('aws-ssl-profiles');\n\n// mysql connection\nconst connection = mysql.createConnection({\n  //...\n  ssl: awsCaBundle,\n});\n\n// mysql connection pool\nconst pool = mysql.createPool({\n  //...\n  ssl: awsCaBundle,\n});\n```\n\n### [MySQL2](https://github.com/sidorares/node-mysql2)\n\n```js\nconst mysql = require('mysql2');\nconst awsCaBundle = require('aws-ssl-profiles');\n\n// mysql2 connection\nconst connection = mysql.createConnection({\n  //...\n  ssl: awsCaBundle,\n});\n\n// mysql2 connection pool\nconst pool = mysql.createPool({\n  //...\n  ssl: awsCaBundle,\n});\n```\n\n### [node-postgres](https://github.com/brianc/node-postgres)\n\n```js\nconst pg = require('pg');\nconst awsCaBundle = require('aws-ssl-profiles');\n\n// pg connection\nconst client = new pg.Client({\n  // ...\n  ssl: awsCaBundle,\n});\n\n// pg connection pool\nconst pool = new pg.Pool({\n  // ...\n  ssl: awsCaBundle,\n});\n```\n\n### Custom `ssl` options\n\nUsing **AWS SSL Profiles** with custom `ssl` options:\n\n```js\n{\n  // ...\n  ssl: {\n    ...awsCaBundle,\n    rejectUnauthorized: true,\n    // ...\n  }\n}\n```\n\n```js\n{\n  // ...\n  ssl: {\n    ca: awsCaBundle.ca,\n    rejectUnauthorized: true,\n    // ...\n  }\n}\n```\n\n### Custom bundles\n\n```js\nconst { proxyBundle } = require('aws-ssl-profiles');\n\n{\n  // ...\n  ssl: proxyBundle,\n}\n```\n\n---\n\n## License\n\n**AWS SSL Profiles** is under the [**MIT License**](./LICENSE).\n\n---\n\n## Security\n\nPlease check the [**SECURITY.md**](./SECURITY.md).\n\n---\n\n## Contributing\n\nPlease check the [**CONTRIBUTING.md**](./CONTRIBUTING.md) for instructions.\n\n---\n\n## Acknowledgements\n\n[**Contributors**](https://github.com/mysqljs/aws-ssl-profiles/graphs/contributors).\n","_attachments":{},"homepage":"https://github.com/mysqljs/aws-ssl-profiles#readme","bugs":{"url":"https://github.com/mysqljs/aws-ssl-profiles/issues"},"license":"MIT"}