Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
datahub-nodejs-sdk
Advanced tools
DataHub Node.js SDK
zhangyuheng | xudafeng | zivyangll |
---|
This project follows the git-contributor spec, auto updated at Fri Feb 15 2019 23:07:40 GMT+0800
.
$ npm i datahub-nodejs-sdk --save-dev
import DataHubSDK from 'datahub-nodejs-sdk';
const sdkClient = new DataHubSDK();
// switch currentScene for 'POST api/create' to 'sucess'
await sdkClient.switchScene({
hub: 'app',
pathname: 'api/create',
scene: 'success',
method: 'POST', // method is optional, default method is 'ALL'
})
// switch currentScene for 'GET api/read' to 'success'
// switch currentScene for 'DELETE api/delete' to 'success'
await sdkClient.switchMultiScenes([{
hub: 'app',
pathname: 'api/read',
scene: 'success',
method: 'GET', // method is optional, default method is 'ALL'
}, {
hub: 'app',
pathname: 'api/delete',
scene: 'success',
method: 'DELETE', // method is optional, default method is 'ALL'
}])
// switch all scenes for all pathnames under app to 'success'
await sdkClient.switchAllScenes({
hub: 'app',
scene: 'success',
})
The MIT License (MIT)
FAQs
DataHub Node.js SDK
We found that datahub-nodejs-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.