Socket
Socket
Sign inDemoInstall

azure-computer-vision-wrapper

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "azure-computer-vision-wrapper",
"version": "1.0.0",
"version": "1.0.1",
"description": "A JavaScript / TypeScript wrappper library for the Azure Computer Vision API for demo purposes",

@@ -5,0 +5,0 @@ "main": "src/index.js",

import AzureConfig from "../interfaces/AzureConfig";
class ComputerVisionClient {
private static azureConfig: AzureConfig;
/**

@@ -9,6 +11,11 @@ * Wrapper library initialization.

constructor(azureConfig: AzureConfig) {
console.dir(azureConfig);
ComputerVisionClient.azureConfig = azureConfig;
}
public logKey(): void {
console.log(this);
console.log("apikey, ", ComputerVisionClient.azureConfig.apiKey);
}
}
export default ComputerVisionClient;
import ComputerVisionClient from "./classes/ComputerVisionClient";
console.log("Hello Reptile");
const client = new ComputerVisionClient({
apiKey: "string",
endpoint: "endpoint",
});
export default ComputerVisionClient;
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc