Gathering detailed insights and metrics for webmiddle-service-pipe
Gathering detailed insights and metrics for webmiddle-service-pipe
Gathering detailed insights and metrics for webmiddle-service-pipe
Gathering detailed insights and metrics for webmiddle-service-pipe
Node.js framework for modular web scraping and data extraction
npm install webmiddle-service-pipe
Typescript
Module System
Min. Node Version
Node Version
NPM Version
64.6
Supply Chain
77.8
Quality
73.3
Maintenance
50
Vulnerability
98.1
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
14 Stars
575 Commits
2 Forks
2 Watchers
36 Branches
2 Contributors
Updated on Nov 09, 2023
Latest Version
0.3.0
Package Id
webmiddle-service-pipe@0.3.0
Unpacked Size
5.95 kB
Size
2.86 kB
File Count
4
NPM Version
5.6.0
Node Version
8.11.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
Executes a sequence of services, piping their results (resources) to the subsequent services in the chain.
1npm install --save webmiddle-service-pipe
1import { PropTypes, rootContext } from 'webmiddle'; 2import Pipe from 'webmiddle-service-pipe'; 3 4const MyService = () => ( 5 <Pipe> 6 <SubService1 7 name="resource1" 8 /> 9 10 {({ resource1 }) => 11 <SubService2 12 name="resource2" 13 {/*...*/} 14 /> 15 } 16 17 {({ resource1, resource2 }) => 18 <SubService3 19 name="resource3" 20 {/*...*/} 21 /> 22 } 23 </Pipe> 24); 25 26rootContext.evaluate(<MyService />) 27.then(resource => { 28 console.log(resource.name); // "output3" 29});
The services to execute are specified via children. In case a
function is specified, then such function is called with an object
containing all the resources retrieved up to that point. The resources
object can be seen as a map
<resource name, resource>
.
Every child service is supposed to return a resource, this is ensured internally by setting the expectResource option to true.
The service resolves with the resource returned by the last child.
Name | Description |
---|---|
children | The tasks to execute. |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/22 approved changesets -- score normalized to 0
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
82 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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