Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 920 Bytes

CONTRIBUTING.md

File metadata and controls

27 lines (18 loc) · 920 Bytes

Contributing

Thanks for helping. Bug reports and small, focused pull requests are welcome.

Set up

You need Node 18 or newer. There are no dependencies to install.

npm test

Tests use the built-in node:test runner with a mocked fetch, so they need no network or API key. To also run the live smoke tests against the sandbox, set VARDIC_TEST_KEY to a vd_test_ key:

VARDIC_TEST_KEY=vd_test_... npm test

Pull requests

  • Keep the package free of runtime dependencies.
  • Add or update a test for every change in behaviour.
  • Update index.d.ts and the README when you change the public API.
  • Add a line under "Unreleased" in CHANGELOG.md.
  • Keep method names in step with the Python SDK: the same methods, camelCase here and snake_case there.

Questions about the API itself: hello@vardic.dev. Security problems: see SECURITY.md.