Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@aelesia/http
Advanced tools
Http.url('https://www.reddit.com/r/singapore.json')
.get<ForumInfo>()
.then((data)=>{
let a = data.data
console.log(a.kind)
a.data.children.forEach(({data})=>{
console.log(data.id)
console.log(data.title)
console.log(data.author)
console.log(data.url)
})
})
Http.url('https://something.com')
.post<Generic>()
Http.url('')
.auth_basic('username', 'password')
Http.url('')
.auth_bearer('token')
Http.url('')
.header('header1', 'value1')
.header('header2', 'value2')
.header('header3', 'value3')
Http.url('')
.headers({
header1: 'value1',
header2: 'value2',
header3: 'value3'
})
Http.url('')
.param('param1', 'value1')
.param('param2', 'value2')
.param('param3', 'value3')
Http.url('')
.params({
param1: 'value1',
param2: 'value2',
param3: 'value3'
})
Http.url('')
.body_form('key1','value1')
.body_form('key2','value2')
.body_form('key3','value3')
Http.url('')
.body_forms({
key1: 'value1',
key2: 'value2',
key3: 'value3'
})
Http.url('')
.body_json_('key1','value1')
.body_json_('key2','value2')
.body_json_('key3','value3')
Http.url('')
.body_json({
key1: 'value1',
key2: 'value2',
key3: 'value3'
})
import {Log as HttpLog} from '@aelesia/http'
HttpLog.stream = (log) => { console.info(log) }
FAQs
Simplified wrapper for HTTP calls
The npm package @aelesia/http receives a total of 0 weekly downloads. As such, @aelesia/http popularity was classified as not popular.
We found that @aelesia/http 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.