Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prompt-foundry/typescript-sdk

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prompt-foundry/typescript-sdk - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

CHANGELOG.md

@@ -5,2 +5,2 @@ # Changelog

### [1.0.5](https://github.com/prompt-foundry/typescript-sdk/compare/v1.0.4...v1.0.5) (2024-05-20)
### [1.0.6](https://github.com/prompt-foundry/typescript-sdk/compare/v1.0.5...v1.0.6) (2024-05-21)
{
"name": "@prompt-foundry/typescript-sdk",
"version": "1.0.5",
"version": "1.0.6",
"description": "The Typescript SDK for the prompt engineering, prompt management, and prompt testing tool Prompt Foundry.",

@@ -29,4 +29,3 @@ "main": "build/main/index.js",

"prettier": "npm run lint -- --fix",
"test": "run-s build test:*",
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
"test": "run-s test:*",
"test:unit": "jest",

@@ -42,3 +41,5 @@ "typecheck": "tsc --noEmit --incremental",

"reset-hard": "git clean -dfx && git reset --hard && npm i",
"prepare-release": "run-s reset-hard test doc:html version doc:publish"
"prepare-release": "run-s reset-hard test doc:html version doc:publish",
"openapi": "run-s openapi:*",
"openapi:typegen": "npx openapicmd typegen https://api.promptfoundry.ai/sdk/openapi > src/types/openapi.d.ts"
},

@@ -51,3 +52,2 @@ "engines": {

"@types/jest": "^29.5.12",
"cspell": "^8.8.1",
"cz-conventional-changelog": "^3.3.0",

@@ -86,3 +86,7 @@ "eslint": "^8.57.0",

}
},
"dependencies": {
"axios": "^1.7.2",
"openapi-client-axios": "^7.5.4"
}
}
# @prompt-foundry/typescript-sdk
The Typescript/ JavasScript SDK for the prompt engineering, prompt management, and prompt testing tool.
The TypeScript/ JavasScript prompt engineering, prompt management, and prompt testing tool.
## Installation
`npm install @prompt-foundry/typescript-sdk`
```bash
npm install @prompt-foundry/typescript-sdk
```
## Usage
```typescript
import PromptFoundry from '@prompt-foundry/typescript-sdk'
const pf = new PromptFoundry({
apiKey: '<API_KEY>'
})
const prompt = await pf.getPrompt({ promptId: 'HELLO' })
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc