
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
har-examples
Advanced tools
A collection of HAR files for developing against the HAR specification.
npm install --save-dev har-examples
import hars from 'har-examples';
console.log(hars.short);
{
"log": {
"version": '1.2',
"creator": {
"name": "ReadMe",
"version": "1.0",
},
"entries": [
{
"startedDateTime": "2021-07-09T23:28:52.627Z",
"time": 85,
"request": {
"method": "GET",
"url": "https://httpbin.org/get",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [],
"queryString": [],
"bodySize": -1,
"headersSize": -1
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Content-Length",
"value": '404'
}
],
"content": {
"size": 404,
"mimeType": "application/json",
"text": "{\"args\":{},\"headers\":{\"Accept\":\"*\/*\",\"Accept-Encoding\":\"gzip, deflate, br\",\"Cache-Control\":\"no-cache\",\"Host\":\"httpbin.org\"},\"origin\":\"127.0.0.1\",\"url\":\"https://httpbin.org/get\"}"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": -1,
},
"cache": {},
"timings": {
"wait": 0,
"receive": 0,
},
},
],
},
};
FAQs
A collection of HAR files for developing against the HAR spec
The npm package har-examples receives a total of 306 weekly downloads. As such, har-examples popularity was classified as not popular.
We found that har-examples demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.