No description
  • TypeScript 99.3%
  • Mustache 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vault Automation d84afef2d0
[Automated] Updated OpenAPI Spec from Vault Enterprise (#73)
* auto: openapi spec update

* auto: generated client updates

---------

Co-authored-by: zofskeez <24611656+zofskeez@users.noreply.github.com>
2026-07-22 07:13:18 -07:00
.github Migrate package manager from yarn to pnpm (#45) 2026-05-15 09:48:51 -06:00
.openapi-generator [Automated] Updated OpenAPI Spec from Vault Enterprise (#73) 2026-07-22 07:13:18 -07:00
scripts Migrate package manager from yarn to pnpm (#45) 2026-05-15 09:48:51 -06:00
src [Automated] Updated OpenAPI Spec from Vault Enterprise (#73) 2026-07-22 07:13:18 -07:00
templates Prefix Enums With Class Name (#28) 2026-02-25 13:31:43 -07:00
.copywrite.hcl Prefix Enums With Class Name (#28) 2026-02-25 13:31:43 -07:00
.gitignore Initial Client Generation Setup (#2) 2025-07-16 16:29:43 -06:00
.npmignore initial commit transferring openapi generated client from Vault (#1) 2025-07-16 15:36:15 -06:00
.openapi-generator-ignore Initial Client Generation Setup (#2) 2025-07-16 16:29:43 -06:00
LICENSE [COMPLIANCE] Add MPL-2.0 LICENSE (#6) 2025-08-07 09:26:04 -06:00
openapi.json [Automated] Updated OpenAPI Spec from Vault Enterprise (#73) 2026-07-22 07:13:18 -07:00
openapitools.json initial commit transferring openapi generated client from Vault (#1) 2025-07-16 15:36:15 -06:00
package.json fix: bump brace-expansion and shell-quote via pnpm overrides (#72) 2026-07-22 10:53:19 +05:30
pnpm-lock.yaml fix: bump brace-expansion and shell-quote via pnpm overrides (#72) 2026-07-22 10:53:19 +05:30
pnpm-workspace.yaml fix: bump brace-expansion and shell-quote via pnpm overrides (#72) 2026-07-22 10:53:19 +05:30
README.md [Automated] Updated OpenAPI Spec from Vault Enterprise (#58) 2026-06-25 09:09:05 -07:00
tsconfig.esm.json initial commit transferring openapi generated client from Vault (#1) 2025-07-16 15:36:15 -06:00
tsconfig.json initial commit transferring openapi generated client from Vault (#1) 2025-07-16 15:36:15 -06:00

@hashicorp/vault-client-typescript@2.1.0

This generator creates TypeScript/JavaScript client that utilizes Fetch API. The generated Node module can be used in the following environments:

Environment

  • Node.js
  • Webpack
  • Browserify

Language level

  • ES5 - you must have a Promises/A+ library installed
  • ES6

Module system

  • CommonJS
  • ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via package.json. (Reference)

Building

To build and compile the typescript sources to javascript use:

npm install
npm run build

Publishing

First build the package then run npm publish

Consuming

navigate to the folder of your consuming project and run one of the following commands.

published:

npm install @hashicorp/vault-client-typescript@2.1.0 --save

unPublished (not recommended):

npm install PATH_TO_GENERATED_PACKAGE --save