![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
clarifai-web-grpc
Advanced tools
The official Clarifai gRPC client for use in client browser applications.
yarn add clarifai-web-grpc
import { ClarifaiStub } from "clarifai-web-grpc";
import { App } from "clarifai-web-grpc/proto/clarifai/api/resources_pb";
import { PostAppsRequest } from "clarifai-web-grpc/proto/clarifai/api/service_pb";
// get a client object
const client = ClarifaiStub.promise()
// create an app
const app = new App();
app.setId("cat-app");
app.setDefaultWorkflowId("General-Detection");
app.setDescription("An app for some cats");
// create a request
const req = new PostAppsRequest();
req.setAppsList([app]);
// send the request
const auth = {
"authorization": `Key ${process.env.CLARIFAI_TOKEN}`,
};
const resp = await client.postApps(req, auth);
// log the app id
console.log(resp.getAppsList()[0].getId());
See the examples directory for more examples of how to use the clarifai API client
Publishing the client to NPM involves merging a PR with 2 things:
version
field in package.json
to the appropriate version."GRPC clients version"
eg "GRPC clients version 9.4.0"
.FAQs
The official Clarifai gRPC-web client
The npm package clarifai-web-grpc receives a total of 233 weekly downloads. As such, clarifai-web-grpc popularity was classified as not popular.
We found that clarifai-web-grpc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.