Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1# std-env2 3[](http://npmjs.com/package/std-env)4[](http://npmjs.com/package/std-env)5[](https://bundlephobia.com/result?p=std-env)6 7Runtime-agnostic JS utils for detecting environments, runtimes, CI providers, and AI coding agents.8 9## Runtime Detection10 11Detects the current JavaScript runtime based on global variables, following the [WinterCG Runtime Keys proposal](https://runtime-keys.proposal.wintercg.org/).12 13```ts14import { runtime, runtimeInfo } from "std-env";15 16console.log(runtime); // "" | "node" | "deno" | "bun" | "workerd" ...17console.log(runtimeInfo); // { name: "node" }18```19 20Individual named exports: `isNode`, `isBun`, `isDeno`, `isNetlify`, `isEdgeLight`, `isWorkerd`, `isFastly`21 22> [!NOTE]23> `isNode` is also `true` in Bun/Deno with Node.js compatibility mode. Use `runtime === "node"` for strict checks.24 25See [./src/runtimes.ts](./src/runtimes.ts) for the full list.26 27## Provider Detection28 29Detects the current CI/CD provider based on environment variables.30 31```ts32import { isCI, provider, providerInfo } from "std-env";33 34console.log({ isCI, provider, providerInfo });35// { isCI: true, provider: "github_actions", providerInfo: { name: "github_actions", ci: true } }36```37 38Use `detectProvider()` to re-run detection. See [./src/providers.ts](./src/providers.ts) for the full list.39 40## Agent Detection41 42Detects if the environment is running inside an AI coding agent.43 44```ts45import { isAgent, agent, agentInfo } from "std-env";46 47console.log({ isAgent, agent, agentInfo });48// { isAgent: true, agent: "claude", agentInfo: { name: "claude" } }49```50 51Set the `AI_AGENT` env var to explicitly specify the agent name. Use `detectAgent()` to re-run detection.52 53Supported agents: `cursor`, `claude`, `devin`, `replit`, `gemini`, `codex`, `auggie`, `opencode`, `kiro`, `goose`, `pi`54 55## Flags56 57```js58import { env, isDevelopment, isProduction } from "std-env";59```60 61| Export | Description |62| ------------------ | ------------------------------------------------------------ |63| `hasTTY` | stdout TTY is available |64| `hasWindow` | Global `window` is available |65| `isCI` | Running in CI |66| `isColorSupported` | Terminal color output supported |67| `isDebug` | `DEBUG` env var is set |68| `isDevelopment` | `NODE_ENV` is `dev`/`development` or `MODE` is `development` |69| `isLinux` | Linux platform |70| `isMacOS` | macOS (darwin) platform |71| `isMinimal` | `MINIMAL` env is set, CI, test, or no TTY |72| `isProduction` | `NODE_ENV` or `MODE` is `production` |73| `isTest` | `NODE_ENV` is `test` or `TEST` env is set |74| `isWindows` | Windows platform |75| `platform` | Value of `process.platform` |76| `nodeVersion` | Node.js version string (e.g. `"22.0.0"`) |77| `nodeMajorVersion` | Node.js major version number (e.g. `22`) |78 79See [./src/flags.ts](./src/flags.ts) for details.80 81## Environment82 83| Export | Description |84| --------- | ---------------------------------------------------- |85| `env` | Universal `process.env` (works across all runtimes) |86| `process` | Universal `process` shim (works across all runtimes) |87| `nodeENV` | Current `NODE_ENV` value (undefined if unset) |88 89## License90 91MIT92 