Package Exports
- @cloudreach/docker-secrets
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cloudreach/docker-secrets) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Docker Secrets
This NPM module loads Docker secrets from the /run/secrets directory created by Docker Swarm into a JS object for use within Node.js applications.
Installation
npm install @cloudreach/docker-secretsUsage
const secrets = require('@cloudreach/docker-secrets');
console.log(secrets);