{"_id":"system-ca","_rev":"2964255","name":"system-ca","description":"Access the system certificate store on Windows, macOS and Linux","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"addaleax","email":"anna@addaleax.net"},{"name":"alena.khineika","email":"alena.khineika@gmail.com"},{"name":"alexander_schroll","email":""},{"name":"chuck.kalmanek","email":"chuck.kalmanek@10gen.com"},{"name":"devtoolsbot","email":""},{"name":"durran","email":"durran@gmail.com"},{"name":"fredtruman","email":"fred.truman@mongodb.com"},{"name":"gribnoysup","email":"petushkov.sergey@gmail.com"},{"name":"hswolff","email":"hswolff@gmail.com"},{"name":"jack.weir","email":"johnjackweir@gmail.com"},{"name":"jarjee","email":"nathan.smyth@10gen.com"},{"name":"jeff-allen-mongo","email":"jeffrey.allen@10gen.com"},{"name":"jonathan.balsano","email":"jonathan.balsano@mongodb.com"},{"name":"kristina.stefano","email":"kristina.stefanova@mongodb.com"},{"name":"lerouxb","email":"lerouxb@gmail.com"},{"name":"mabaasit","email":""},{"name":"matt_d_rat","email":"matt@mattfairbrass.com"},{"name":"mbroadst","email":"mbroadst@gmail.com"},{"name":"mcasimir","email":"maurizio.cas@gmail.com"},{"name":"mmarcon","email":"me@marcon.me"},{"name":"mongo-j","email":""},{"name":"mongodb-build","email":"build-accounts@10gen.com"},{"name":"mongodb-js-user","email":"lucas.hrabovsky+mongodb-js@10gen.com"},{"name":"mutukrish","email":"mutukrish@gmail.com"},{"name":"rhysm","email":"rhys.howell@10gen.com"},{"name":"rueckstiess","email":"thomas@rueckstiess.net"},{"name":"satyasinha","email":"satyendra.n.sinha@gmail.com"},{"name":"shaketbaby","email":"shaketbaby@gmail.com"},{"name":"stennie","email":"stennie@cpan.org"},{"name":"tomhollander","email":"tomhollander@hotmail.com"}],"time":{"modified":"2023-05-08T06:30:56.000Z","created":"2022-02-15T15:40:17.858Z","1.0.2":"2022-02-17T12:43:36.005Z","1.0.1":"2022-02-17T10:56:17.779Z","1.0.0":"2022-02-15T15:40:17.858Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/mongodb-js/system-ca.git"},"versions":{"1.0.2":{"name":"system-ca","version":"1.0.2","description":"Access the system certificate store on Windows, macOS and Linux","keywords":["system","cert","certificate","ca","windows","macos","linux"],"homepage":"https://github.com/mongodb-js/system-ca","repository":{"type":"git","url":"git+https://github.com/mongodb-js/system-ca.git"},"bugs":{"url":"https://github.com/mongodb-js/system-ca/issues"},"main":"lib/index.js","exports":{"require":"./lib/index.js","import":"./.esm-wrapper.mjs"},"scripts":{"lint":"eslint \"src/**/*.ts\"","test":"npm run lint && npm run build && nyc mocha --colors -r ts-node/register src/*.spec.ts","build":"npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs","prepack":"npm run build","compile-ts":"tsc -p tsconfig.json"},"license":"Apache-2.0","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^8.0.3","@types/node":"^17.0.18","@typescript-eslint/eslint-plugin":"^4.2.0","@typescript-eslint/parser":"^4.2.0","chai":"^4.2.0","eslint":"^7.9.0","eslint-config-semistandard":"^15.0.1","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","gen-esm-wrapper":"^1.1.3","mocha":"^8.1.3","nyc":"^15.1.0","ts-node":"^9.0.0","typescript":"^4.0.3"},"optionalDependencies":{"macos-export-certificate-and-key":"^1.1.1","win-export-certificate-and-key":"^1.1.1"},"gitHead":"8cefc4bd68815e6978a3b8b50dfb79f014de0bc0","dependencies":{"macos-export-certificate-and-key":"^1.1.1","win-export-certificate-and-key":"^1.1.1"},"_id":"system-ca@1.0.2","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"shasum":"7e11e7bbbd81651a00ee881e472e627b2bcb073f","size":9532,"noattachment":false,"key":"/system-ca/-/system-ca-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/system-ca/download/system-ca-1.0.2.tgz"},"_npmUser":{"name":"addaleax","email":"anna@addaleax.net"},"directories":{},"maintainers":[{"name":"addaleax","email":"anna@addaleax.net"},{"name":"alena.khineika","email":"alena.khineika@gmail.com"},{"name":"alexander_schroll","email":""},{"name":"chuck.kalmanek","email":"chuck.kalmanek@10gen.com"},{"name":"devtoolsbot","email":""},{"name":"durran","email":"durran@gmail.com"},{"name":"fredtruman","email":"fred.truman@mongodb.com"},{"name":"gribnoysup","email":"petushkov.sergey@gmail.com"},{"name":"hswolff","email":"hswolff@gmail.com"},{"name":"jack.weir","email":"johnjackweir@gmail.com"},{"name":"jarjee","email":"nathan.smyth@10gen.com"},{"name":"jeff-allen-mongo","email":"jeffrey.allen@10gen.com"},{"name":"jonathan.balsano","email":"jonathan.balsano@mongodb.com"},{"name":"kristina.stefano","email":"kristina.stefanova@mongodb.com"},{"name":"lerouxb","email":"lerouxb@gmail.com"},{"name":"mabaasit","email":""},{"name":"matt_d_rat","email":"matt@mattfairbrass.com"},{"name":"mbroadst","email":"mbroadst@gmail.com"},{"name":"mcasimir","email":"maurizio.cas@gmail.com"},{"name":"mmarcon","email":"me@marcon.me"},{"name":"mongo-j","email":""},{"name":"mongodb-build","email":"build-accounts@10gen.com"},{"name":"mongodb-js-user","email":"lucas.hrabovsky+mongodb-js@10gen.com"},{"name":"mutukrish","email":"mutukrish@gmail.com"},{"name":"rhysm","email":"rhys.howell@10gen.com"},{"name":"rueckstiess","email":"thomas@rueckstiess.net"},{"name":"satyasinha","email":"satyendra.n.sinha@gmail.com"},{"name":"shaketbaby","email":"shaketbaby@gmail.com"},{"name":"stennie","email":"stennie@cpan.org"},{"name":"tomhollander","email":"tomhollander@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/system-ca_1.0.2_1645101815805_0.31117472321443107"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-17T12:43:40.150Z","publish_time":1645101816005,"_cnpm_publish_time":1645101816005},"1.0.1":{"name":"system-ca","version":"1.0.1","description":"Access the system certificate store on Windows, macOS and Linux","keywords":["system","cert","certificate","ca","windows","macos","linux"],"homepage":"https://github.com/mongodb-js/system-ca","repository":{"type":"git","url":"git+https://github.com/mongodb-js/system-ca.git"},"bugs":{"url":"https://github.com/mongodb-js/system-ca/issues"},"main":"lib/index.js","exports":{"require":"./lib/index.js","import":"./.esm-wrapper.mjs"},"scripts":{"lint":"eslint \"src/**/*.ts\"","test":"npm run lint && npm run build && nyc mocha --colors -r ts-node/register src/*.spec.ts","build":"npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs","prepack":"npm run build","compile-ts":"tsc -p tsconfig.json"},"license":"Apache-2.0","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^8.0.3","@types/node":"^17.0.18","@typescript-eslint/eslint-plugin":"^4.2.0","@typescript-eslint/parser":"^4.2.0","chai":"^4.2.0","eslint":"^7.9.0","eslint-config-semistandard":"^15.0.1","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","gen-esm-wrapper":"^1.1.3","mocha":"^8.1.3","nyc":"^15.1.0","ts-node":"^9.0.0","typescript":"^4.0.3"},"optionalDependencies":{"macos-export-certificate-and-key":"^1.1.1","win-export-certificate-and-key":"^1.1.1"},"gitHead":"cf97544602038acb66304945600ed631bf4b1d0b","dependencies":{"macos-export-certificate-and-key":"^1.1.1","win-export-certificate-and-key":"^1.1.1"},"_id":"system-ca@1.0.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"shasum":"528998d0b9acf58a469475d8f4a06d7a5d8de1a3","size":9495,"noattachment":false,"key":"/system-ca/-/system-ca-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/system-ca/download/system-ca-1.0.1.tgz"},"_npmUser":{"name":"addaleax","email":"anna@addaleax.net"},"directories":{},"maintainers":[{"name":"addaleax","email":"anna@addaleax.net"},{"name":"alena.khineika","email":"alena.khineika@gmail.com"},{"name":"alexander_schroll","email":""},{"name":"chuck.kalmanek","email":"chuck.kalmanek@10gen.com"},{"name":"devtoolsbot","email":""},{"name":"durran","email":"durran@gmail.com"},{"name":"fredtruman","email":"fred.truman@mongodb.com"},{"name":"gribnoysup","email":"petushkov.sergey@gmail.com"},{"name":"hswolff","email":"hswolff@gmail.com"},{"name":"jack.weir","email":"johnjackweir@gmail.com"},{"name":"jarjee","email":"nathan.smyth@10gen.com"},{"name":"jeff-allen-mongo","email":"jeffrey.allen@10gen.com"},{"name":"jonathan.balsano","email":"jonathan.balsano@mongodb.com"},{"name":"kristina.stefano","email":"kristina.stefanova@mongodb.com"},{"name":"lerouxb","email":"lerouxb@gmail.com"},{"name":"mabaasit","email":""},{"name":"matt_d_rat","email":"matt@mattfairbrass.com"},{"name":"mbroadst","email":"mbroadst@gmail.com"},{"name":"mcasimir","email":"maurizio.cas@gmail.com"},{"name":"mmarcon","email":"me@marcon.me"},{"name":"mongo-j","email":""},{"name":"mongodb-build","email":"build-accounts@10gen.com"},{"name":"mongodb-js-user","email":"lucas.hrabovsky+mongodb-js@10gen.com"},{"name":"mutukrish","email":"mutukrish@gmail.com"},{"name":"rhysm","email":"rhys.howell@10gen.com"},{"name":"rueckstiess","email":"thomas@rueckstiess.net"},{"name":"satyasinha","email":"satyendra.n.sinha@gmail.com"},{"name":"shaketbaby","email":"shaketbaby@gmail.com"},{"name":"stennie","email":"stennie@cpan.org"},{"name":"tomhollander","email":"tomhollander@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/system-ca_1.0.1_1645095377564_0.7897600995303631"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-17T10:56:33.312Z","publish_time":1645095377779,"_cnpm_publish_time":1645095377779},"1.0.0":{"name":"system-ca","version":"1.0.0","description":"Access the system certificate store on Windows, macOS and Linux","keywords":["system","cert","certificate","ca","windows","macos","linux"],"homepage":"https://github.com/mongodb-js/system-ca","repository":{"type":"git","url":"git+https://github.com/mongodb-js/system-ca.git"},"bugs":{"url":"https://github.com/mongodb-js/system-ca/issues"},"main":"lib/index.js","exports":{"require":"./lib/index.js","import":"./.esm-wrapper.mjs"},"scripts":{"lint":"eslint \"src/**/*.ts\"","test":"npm run lint && npm run build && nyc mocha --colors -r ts-node/register src/*.spec.ts","build":"npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs","prepack":"npm run build","compile-ts":"tsc -p tsconfig.json"},"license":"Apache-2.0","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^8.0.3","@types/node":"^17.0.18","@typescript-eslint/eslint-plugin":"^4.2.0","@typescript-eslint/parser":"^4.2.0","chai":"^4.2.0","eslint":"^7.9.0","eslint-config-semistandard":"^15.0.1","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","gen-esm-wrapper":"^1.1.3","mocha":"^8.1.3","nyc":"^15.1.0","ts-node":"^9.0.0","typescript":"^4.0.3"},"optionalDependencies":{"macos-export-certificate-and-key":"^1.1.1","win-export-certificate-and-key":"^1.1.1"},"types":"./lib/index.d.ts","gitHead":"c7214437ffbb3115faf8263320a9ae60cc72bae5","dependencies":{"macos-export-certificate-and-key":"^1.1.1","win-export-certificate-and-key":"^1.1.1"},"_id":"system-ca@1.0.0","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"5d2da43608c076d0c12e1bb6fc7614186a7ad4cf","size":9367,"noattachment":false,"key":"/system-ca/-/system-ca-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/system-ca/download/system-ca-1.0.0.tgz"},"_npmUser":{"name":"addaleax","email":"anna@addaleax.net"},"directories":{},"maintainers":[{"name":"addaleax","email":"anna@addaleax.net"},{"name":"alena.khineika","email":"alena.khineika@gmail.com"},{"name":"alexander_schroll","email":""},{"name":"chuck.kalmanek","email":"chuck.kalmanek@10gen.com"},{"name":"devtoolsbot","email":""},{"name":"durran","email":"durran@gmail.com"},{"name":"fredtruman","email":"fred.truman@mongodb.com"},{"name":"gribnoysup","email":"petushkov.sergey@gmail.com"},{"name":"hswolff","email":"hswolff@gmail.com"},{"name":"jack.weir","email":"johnjackweir@gmail.com"},{"name":"jarjee","email":"nathan.smyth@10gen.com"},{"name":"jeff-allen-mongo","email":"jeffrey.allen@10gen.com"},{"name":"jonathan.balsano","email":"jonathan.balsano@mongodb.com"},{"name":"kristina.stefano","email":"kristina.stefanova@mongodb.com"},{"name":"lerouxb","email":"lerouxb@gmail.com"},{"name":"mabaasit","email":""},{"name":"matt_d_rat","email":"matt@mattfairbrass.com"},{"name":"mbroadst","email":"mbroadst@gmail.com"},{"name":"mcasimir","email":"maurizio.cas@gmail.com"},{"name":"mmarcon","email":"me@marcon.me"},{"name":"mongo-j","email":""},{"name":"mongodb-build","email":"build-accounts@10gen.com"},{"name":"mongodb-js-user","email":"lucas.hrabovsky+mongodb-js@10gen.com"},{"name":"mutukrish","email":"mutukrish@gmail.com"},{"name":"rhysm","email":"rhys.howell@10gen.com"},{"name":"rueckstiess","email":"thomas@rueckstiess.net"},{"name":"satyasinha","email":"satyendra.n.sinha@gmail.com"},{"name":"shaketbaby","email":"shaketbaby@gmail.com"},{"name":"stennie","email":"stennie@cpan.org"},{"name":"tomhollander","email":"tomhollander@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/system-ca_1.0.0_1644939617638_0.8538975212578719"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-15T15:40:22.851Z","publish_time":1644939617858,"_cnpm_publish_time":1644939617858}},"readme":"# system-ca\n\nAccess the system certificate store on Windows, macOS and Linux.\n\n```js\nimport { systemCertsSync, systemCertsAsync } from 'system-ca';\n\nconsole.log(systemCertsSync())\nconsole.log(await systemCertsAsync())\n\ntls.connect({\n  host: 'google.com',\n  port: 443,\n  ca: await systemCertsAsync({ includeNodeCertificates: true })\n})\n```\n\nThe `systemCertsSync()` and `systemCertsAsync()` functions perform the same\noperation, namely, listing all trusted certificates as an array of PEM-formatted\nX.509 certificates.\n\nThe result can be passed directly to the `ca` option of `tls.connect()`\nand similar methods.\n\n- Using `systemCertsAsync()` may be preferable, because accessing the\n  system store can be slow, especially on Windows.\n- `systemCertsAsync()` uses a worker thread under the hood on Windows and macOS.\n- On Windows and macOS, this package always uses native addons for accessing\n  the system certificate store.\n- On all other platforms, both the async and the sync variant read from the\n  typical system locations for storing trusted certificates (i.e. `/etc/ssl`, `/etc/pki`).\n\n## LICENSE\n\nApache-2.0\n","_attachments":{},"homepage":"https://github.com/mongodb-js/system-ca","bugs":{"url":"https://github.com/mongodb-js/system-ca/issues"},"license":"Apache-2.0"}