@lou.codes/constants
v2.2.2
Published
🔢 Shared constants and aliases to static methods, values and symbols.
Downloads
690
Maintainers
Readme
🔢 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.