first commit

This commit is contained in:
jefferyzhao
2025-07-31 17:44:12 +08:00
commit b9bdc8598b
42390 changed files with 4467935 additions and 0 deletions

35
node_modules/navigator/README.md generated vendored Normal file
View File

@ -0,0 +1,35 @@
navigator
===
Emulates the browser's `navigator`
{
appCodeName: "Mozilla"
, appName: "Netscape"
, appVersion: "5.0 (" + machine + "; " + arch + ") " + engine
, cookieEnabled: true
, geolocation: undefined
/*
clearWatch
getCurrentPosition
watchPosition
*/
, mimeTypes: []
/*
*/
, onLine: true
, platform: "MacIntel"
, plugins: []
/*
*/
, product: "Gecko"
, productSub: "20030107"
, usegAgent: "Mozilla/5.0 (" + machine + "; " + arch + ") " + engine
, vendor: "Joyent"
, vendorSub: ""
}
TODO
===
Use `process.os` and such for a more accurate readout

33
node_modules/navigator/index.js generated vendored Normal file
View File

@ -0,0 +1,33 @@
(function () {
"use strict";
var machine = "Macintosh"
, arch = "Intel Mac OS X 10_6_7"
, engine = "AppleWebKit/534.36 (KHTML, like Gecko) NodeJS/v0.4.7 Chrome/13.0.767.0 Safari/534.36";
module.exports = {
appCodeName: "Mozilla"
, appName: "Netscape"
, appVersion: "5.0 (" + machine + "; " + arch + ") " + engine
, cookieEnabled: true
, geolocation: undefined
/*
clearWatch
getCurrentPosition
watchPosition
*/
, mimeTypes: []
/*
*/
, onLine: true
, platform: "MacIntel"
, plugins: []
/*
*/
, product: "Gecko"
, productSub: "20030107"
, userAgent: "Mozilla/5.0 (" + machine + "; " + arch + ") " + engine
, vendor: "Joyent"
, vendorSub: ""
}
}());

16
node_modules/navigator/package.json generated vendored Normal file
View File

@ -0,0 +1,16 @@
{
"author": "AJ ONeal <coolaj86@gmail.com> (http://coolaj86.info)",
"name": "navigator",
"description": "A browser-esque `navigator` for Node.JS (for Ender.JS compatibility)",
"version": "1.0.1",
"repository": {
"type": "git",
"url": "git://github.com/coolaj86/node-navigator.git"
},
"main": "index.js",
"engines": {
"node": ">= v0.2.0"
},
"dependencies": {},
"devDependencies": {}
}