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.
@bcaster/bcaster-api-wrapper
Advanced tools
git clone git@bitbucket.org:bcasterltd/bcaster-api-wrapper.git
.A Tiny utility wrapping bcaster api calls
This package has been published on NPM and is freely available for all bcaster developers according to the ISC license. To install via npm simply run npm install @bcaster/bcaster-api-wrapper
. This package exposes two methods, callWithAuth
and callWithoutAuth
which encapsulates the two variants of api calls made to bcaster. As usual, this requires certain configuration options and a map of available endpoints. For any specific questions please reach out to Maintainer of this package
The below is an example usage script and does not reflect any file structure or real endpoint. This example assumes the all files are in the root folder and the required config file and endpoints map have already been sorted. For more explicit details please contact Maintainer of this package.
const ApiWrapper = require('@bcaster/bcaster-api-wrapper');
const config = require('./config');
const endpoints = require('./endpoints');
const api = new ApiWrapper(config, endpoints);
/**
* Example Function for BCaster login
* @param {*} req The request object
* @param {*} res The response object
*/
const loginToBCaster = (req, res) => {
const {body} = req;
api.callWithoutAuth(req, res, {body}, 'POST', '/bcaster/api/login');
};
FAQs
A tiny utility module for bcaster api
The npm package @bcaster/bcaster-api-wrapper receives a total of 1 weekly downloads. As such, @bcaster/bcaster-api-wrapper popularity was classified as not popular.
We found that @bcaster/bcaster-api-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.