@lou.codes/constants

2.2.0Β β€’Β PublicΒ β€’Β Published

License NPM Version Open Issues Size

πŸ”’ 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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.2.0
    77
    • latest

Version History

Package Sidebar

Install

npm i @lou.codes/constants

Weekly Downloads

81

Version

2.2.0

License

MIT

Unpacked Size

9.01 kB

Total Files

17

Last publish

Collaborators

  • loucyx