2.0.3 ā¢ Published 10 days ago
@lou.codes/constants v2.0.3
š¢ Shared constants and aliases to static methods, values and symbols.
Usage
š¦ Node
Install @lou.codes/constants
as a dependency:
pnpm add @lou.codes/constants
# or
npm install @lou.codes/constants
# or
yarn add @lou.codes/constants
Import it and use it:
import { iterator } from "@lou.codes/constants/Symbol.js";
console.log(iterator); // {}
š¦ Deno
Import @lou.codes/constants
using the npm:
prefix, and use it directly:
import { iterator } from "npm:@lou.codes/constants/Symbol.js";
console.log(iterator); // {}
š Browser
Import @lou.codes/constants
using esm.sh, and use it directly:
<script type="module">
import { iterator } from "https://esm.sh/@lou.codes/constants/Symbol.js";
console.log(iterator); // {}
</script>
Useful links
- š Documentation: TypeDoc generated documentation.
- ā³ Changelog: List of changes between versions.