Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/endofunctor/src/runtime/name.ts>default

🌐 Vixeny: At the forefront of modern web development, Vixeny stands as a runtime-independent, efficiency-driven library dedicated to upholding the principles of functional purity. It's crafted to empower developers with a robust foundation for creating scalable, maintainable, and high-performance web applications.
Latest
variable default
import { default } from "https://deno.land/x/endofunctor@v0.1.30/src/runtime/name.ts";

Identifies the current JavaScript runtime environment. It prioritizes the detection in the following order:

  1. Bun
  2. Deno

By default, if neither Bun nor Deno environments are detected, it assumes the Node environment.

This function is useful for applications that need to adapt their behavior based on the runtime environment.

import { runtime } from 'vixeny'

//logging runtime name
console.log(
 runtime.name()
)

type

() => unknown