Initial import with skill sheet working

This commit is contained in:
2024-12-04 00:11:23 +01:00
commit 9050c80ab4
4488 changed files with 671048 additions and 0 deletions

37
node_modules/v8flags/config-path.js generated vendored Normal file
View File

@@ -0,0 +1,37 @@
var os = require('os');
var path = require('path');
var userHome = os.homedir();
var env = process.env;
var name = 'js-v8flags';
function macos() {
var library = path.join(userHome, 'Library');
return path.join(library, 'Caches', name);
}
function windows() {
var appData = env.LOCALAPPDATA || path.join(userHome, 'AppData', 'Local');
return path.join(appData, name);
}
// https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
function linux() {
return path.join(env.XDG_CACHE_HOME || path.join(userHome, '.cache'), name);
}
module.exports = function (platform) {
if (!userHome) {
return os.tmpdir();
}
if (platform === 'darwin') {
return macos();
}
if (platform === 'win32') {
return windows();
}
return linux();
};