
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
cc-finance-api
Advanced tools
This package is a library that is used to make http requests to the Finance API.
npm install cc-finance-apigit clone https://bitbucket.org/FinoCodeLab/cc-finance-api.gitvar financeApi = new(require('cc-finance-api'))({key:'', url: '', debug_mode: false});
var CCFinanceApi = require('cc-finance-api');
var financeApi = new CCFinanceApi({key:'', url: '', debug_mode: false});
let url = '/my/route';
let data: {
...
};
financeApi.get(url, data).then(res => {
console.log(res);
}).catch(err => {
console.log(err);
});
If you want to make a request to an endpoint other than the one entered in the initial configuration parameters, you can send the variable
overwriteEndpoint: truewithin the same object "data". This parameter indicates that the endpoint will be replaced by the url that is being entered in the method. Ex:
let url = 'http://www.dominio.com/api/my/route';
let data: {
overwriteEndpoint: true,
...,
...,
};
financeApi.get(url, data).then(res => {
console.log(res);
}).catch(err => {
console.log(err);
});
NOTA: All methods use promises.
FAQs
api finance
The npm package cc-finance-api receives a total of 8 weekly downloads. As such, cc-finance-api popularity was classified as not popular.
We found that cc-finance-api 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.