Gathering detailed insights and metrics for easy-soap-request
Gathering detailed insights and metrics for easy-soap-request
Gathering detailed insights and metrics for easy-soap-request
Gathering detailed insights and metrics for easy-soap-request
npm install easy-soap-request
Typescript
Module System
Node Version
NPM Version
53.8
Supply Chain
99.5
Quality
77.5
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
5,880,442
Last Day
3,244
Last Week
21,827
Last Month
100,370
Last Year
1,510,684
161 Stars
136 Commits
45 Forks
7 Watching
1 Branches
10 Contributors
Latest Version
5.6.1
Package Id
easy-soap-request@5.6.1
Unpacked Size
100.01 kB
Size
27.62 kB
File Count
7
NPM Version
10.2.3
Node Version
18.19.0
Publised On
31 Jan 2024
Cumulative downloads
Total Downloads
Last day
-19.3%
3,244
Compared to previous day
Last week
-4.5%
21,827
Compared to previous week
Last month
-8.6%
100,370
Compared to previous month
Last year
2%
1,510,684
Compared to previous year
A small library to make SOAP requests easier via Node.js, Deno, and your browser
1npm install easy-soap-request
1const soapRequest = require('easy-soap-request'); 2const fs = require('fs'); 3 4// example data 5const url = 'https://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php'; 6const sampleHeaders = { 7 'user-agent': 'sampleTest', 8 'Content-Type': 'text/xml;charset=UTF-8', 9 'soapAction': 'https://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl#LatLonListZipCode', 10}; 11const xml = fs.readFileSync('test/zip-code-envelope.xml', 'utf-8'); 12 13// usage of module 14(async () => { 15 const { response } = await soapRequest({ url: url, headers: sampleHeaders, xml: xml, timeout: 1000 }); // Optional timeout parameter(milliseconds) 16 const { headers, body, statusCode } = response; 17 console.log(headers); 18 console.log(body); 19 console.log(statusCode); 20})();
1import soapRequest from 'https://deno.land/x/easy_soap_request/index.d.js'; 2 3// example data 4const url = 'https://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php'; 5const sampleHeaders = { 6 'user-agent': 'sampleTest', 7 'Content-Type': 'text/xml;charset=UTF-8', 8 'soapAction': 'https://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl#LatLonListZipCode', 9}; 10 11// usage of module 12(async () => { 13 const xml = await Deno.readFile('test/zip-code-envelope.xml'); 14 const { response } = await soapRequest({ url: url, headers: sampleHeaders, xml: xml }); 15 const { headers, body, statusCode } = response; 16 console.log(headers); 17 console.log(body); 18 console.log(statusCode); 19})();
Note: CORS policies apply
1<html> 2<script src="https://cdn.jsdelivr.net/npm/easy-soap-request/dist/easy-soap-request.js"></script> 3<script> 4 const url = 'https://my-soap-server'; 5 const sampleHeaders = { 6 'Content-Type': 'text/xml;charset=UTF-8', 7 SOAPAction: 'https://my-soap-action/something', 8 }; 9 const xml = `<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 10 <soapenv:Header/> 11 <soapenv:Body>Some Data</soapenv:Body> 12 </soapenv:Envelope>`; 13 async function makeRequest() { 14 const { response } = await soapRequest({ url: url, headers: sampleHeaders, xml: xml, timeout: 1000 }); 15 const { headers, body, statusCode } = response; 16 console.log(headers); 17 console.log(body); 18 console.log(statusCode); 19 document.body.innerHTML = body; 20 }; 21 makeRequest(); 22</script> 23<body></body> 24</html>
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/24 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
20 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More