Thank you for taking the time to contribute. nanvc is a small TypeScript client for the HashiCorp Vault HTTP API, and contributions that improve correctness, documentation, compatibility, and developer experience are welcome.
- Report bugs with clear reproduction steps.
- Suggest improvements or new Vault API coverage.
- Improve documentation, examples, and type information.
- Submit fixes with focused pull requests.
Please check the existing issues and pull requests first to avoid duplicate work. For larger changes, open an issue before implementing so the approach can be discussed early.
This project requires Node.js >= 20 and npm.
npm installUseful commands:
npm run typecheck
npm run lint
npm run test
npm run buildIntegration tests require Docker and a local Vault test environment:
npm run test:integration- Keep pull requests focused on one change or closely related set of changes.
- Add or update tests when behavior changes.
- Update documentation and examples when public APIs change.
- Make sure
npm run typecheck,npm run lint, andnpm run testpass before requesting review. - Include a short summary of the change and any relevant testing notes in the pull request description.
Follow the existing TypeScript style in the repository. Prefer clear, typed APIs and small changes that fit the current client design. Avoid unrelated formatting or refactoring in the same pull request as a functional change.
Please do not open public issues for suspected security vulnerabilities. Instead, contact the maintainer using the email listed in package.json so the issue can be handled responsibly.
By participating in this project, you agree to follow the Code of Conduct.