
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
futoin-request
Advanced tools
FutoIn AsyncSteps friendly wrapper of request.
Documentation --> FutoIn Guide
Author: Andrey Galkin
Command line:
$ npm install futoin-request --save
or:
$ yarn add futoin-request --save
The module can be used with webpack or any other CommonJS packer. However, please
ensure to use ES6->ES5 transpilation for older browsers.
Pre-packed UMD module is available in dist/futoin-request.js (stripped ~180KB from over 1MB).
Note: please note that pre-packed dist is heavily stripped of dependencies and most features of request library is not expected to work due not minimal use case in browsers:
You can always use own webpack build.
const $as = require('futoin-asyncsteps');
const $as_request = require('futoin-request');
$as().add((as) => {
// Very basic
$as_request(as, 'https://httpbin.org/get');
as.add((as, rsp, body) => console.log(body));
// As usual
$as_request.post(as, {
url: 'https://httpbin.org/post',
json: {a: 1, b: 2},
});
as.add((as, rsp, body) => console.log(body));
// With callback for request as stream manipulation
$as_request.post(as, {
url: 'https://httpbin.org/post',
headers: { 'content-length': 4 },
}, (req) => req.end('test') );
as.add((as, rsp, body) => console.log(body));
}).execute();
API is absolutely the same as for original request package except that:
(as, rsp, body) => {} must be added instead of result callback.AsyncSteps#error(), if detected.Additional notes:
AsyncSteps#cancel() or timeoutRequestErroras.state.last_exception conventionas.state.last_response is set with response object$as_request global referencewindow.FutoIn.request - browser-only reference to futoin-request module
window.$as_request - browser-only reference to futoin-request module
window.FutoIn.request - browser-only reference to futoin-request module
window.$as_request - browser-only reference to futoin-request module
Kind: global variable
FAQs
AsyncSteps friendly wrapper of 'request' package
We found that futoin-request 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.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.