This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Simple RegExp capture | |
*/ | |
function regexp_capture(regexp, data) | |
{ | |
if (!data) | |
{ return false; } | |
var output = (new RegExp(regexp)).exec(data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Make native http/https requests | |
* | |
* @usage: NativeRequest([URL|options]) | |
* @demo: NativeRequest('https://example.org') | |
* | |
* @output: <http.ClientRequest> - see https://nodejs.org/api/http.html#http_http_request_options_callback | |
*/ | |
const { URL } = require('url') |
NewerOlder