![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.
ocbesbn-blob-client
Advanced tools
This module provides simple and easy server side access to the blob storage service. For further details of how to use this module, please have a look at the wiki of this module and the blob service wiki.
First got to your local code directory and run:
npm install ocbesbn-blob-client
In order to run BlobClient, you'll need a setup consisting of a running blob service and a working consul service registry with the blob service being registered under the name blob.
Since version 2.0, ocbesbn-blob-client defines multiple classes depending on which part of blob service one wants to access. Currently there are multiple classes which directly inherit BlobClient and therefor are interface compatible.
const { BlobClient, TempFileClient, DataFileClient } = require('ocbesbn-blob-client');
const blobClient = new BlobClient();
blobClient.getFileInfo('c_tenant', '/public/myFile.ext').then(info => console.log(info)).catch(err => console.log(err));
const tempFileClient = new TempFileClient();
tempFileClient.getFileInfo('c_tenant', '/public/myFile.ext').then(info => console.log(info)).catch(err => console.log(err));
const dataFileClient = new DataFileClient();
dataFileClient.getFileInfo('c_tenant', '/public/myFile.ext').then(info => console.log(info)).catch(err => console.log(err));
If an error occurs (HTTP status code >= 400), a result promise gets rejected as defined by the rules of ServiceClient.
The default configuration object provides hints about what the module's standard behavior is like and which configuration options are available. For further details about the API, please have a look at the wiki.
{
consul : {
host : 'consul'
},
serviceClient : null,
forceServiceToken : false,
clientType : 'files'
}
FAQs
Client for OpusCapita Business Network file storage service.
The npm package ocbesbn-blob-client receives a total of 2 weekly downloads. As such, ocbesbn-blob-client popularity was classified as not popular.
We found that ocbesbn-blob-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.