install gulp to process code

This commit is contained in:
isUnknown 2024-09-20 10:32:49 +02:00
parent 24f6606c2c
commit b6a3900ee2
1651 changed files with 253427 additions and 39 deletions

15
node_modules/http-https/LICENSE generated vendored Normal file
View file

@ -0,0 +1,15 @@
The ISC License
Copyright (c) Isaac Z. Schlueter
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

23
node_modules/http-https/README.md generated vendored Normal file
View file

@ -0,0 +1,23 @@
# http-https
A wrapper that chooses http or https for requests
## USAGE
```javascript
var hh = require('http-https')
var req = hh.request('http://example.com/bar')
var secureReq = hh.request('https://secure.example.com/foo')
// or with a parsed object...
var opt = url.parse(someUrlMaybeHttpMaybeHttps)
opt.headers = {
'user-agent': 'flergy mc flerg'
}
opt.method = 'HEAD'
var req = hh.request(opt, function (res) {
console.log('got response!', res.statusCode, res.headers)
})
req.end()
```

19
node_modules/http-https/http-https.js generated vendored Normal file
View file

@ -0,0 +1,19 @@
var http = exports.http = require('http')
var https = exports.https = require('https')
var url = require('url')
exports.get = function(opt, cb) {
return getMod(opt).get(opt, cb)
}
exports.request = function(opt, cb) {
return getMod(opt).request(opt, cb)
}
exports.getModule = getMod
function getMod(opt) {
if (typeof opt === 'string')
opt = url.parse(opt)
return opt.protocol === 'https:' ? https : http
}

19
node_modules/http-https/package.json generated vendored Normal file
View file

@ -0,0 +1,19 @@
{
"name": "http-https",
"version": "1.0.0",
"description": "A wrapper that chooses http or https for requests",
"main": "http-https.js",
"scripts": {
"test": "node test.js"
},
"repository": {
"type": "git",
"url": "git://github.com/isaacs/http-https"
},
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"license": "ISC",
"bugs": {
"url": "https://github.com/isaacs/http-https/issues"
},
"homepage": "https://github.com/isaacs/http-https"
}

6
node_modules/http-https/test.js generated vendored Normal file
View file

@ -0,0 +1,6 @@
var hh = require('./http-https.js')
var assert = require('assert')
assert.equal(hh.getModule('https://foo'), hh.https)
assert.equal(hh.getModule('http://foo'), hh.http)
console.log('ok')