Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@netology-group/storage
Advanced tools
JavaScript API-client for Storage service
npm install --save @netology-group/storage
import {
AxiosHttpClient,
SimpleTokenProvider,
HttpStorageResource
} from '@netology-group/storage'
const TOKEN = 'jwt-token'
const bucket = 'example-bucket'
const set = '123'
const object = 'example.json'
const headers = {
'cache-control': 'max-age=31536000',
'content-type': 'application/json'
}
const data = {foo: 'bar'}
const storage = new HttpStorageResource(
'https://example.com',
'api/v1',
new AxiosHttpClient(),
new SimpleTokenProvider(TOKEN)
)
// signing request params
storage.sign({ method: 'PUT', bucket, set, object, headers })
.then((response) => {
console.log('[response]', response)
})
.catch((error) => {
console.log('[error]', error)
})
// uploading data
storage.upload({ bucket, set, object, headers }, data, {})
.then((response) => {
console.log('[response]', response)
})
.catch((error) => {
console.log('[error]', error)
})
FAQs
JavaScript API-client for Storage service
We found that @netology-group/storage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.