Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

vangware/utils

Repository files navigation

This repository's code was moved to lou.codes.


Coverage License NPM Version Open Issues

⚒️ Vangware TypeScript curried functional utils.

Usage

📦 Node

Install @vangware/utils as a dependency:

pnpm add @vangware/utils
# or
npm install @vangware/utils
# or
yarn add @vangware/utils

Import it and use it:

import { get } from "@vangware/utils";

get("foo")({ foo: "bar" }); // "bar"

🦕 Deno

Import @vangware/utils using the npm: prefix, and use it directly:

import { get } from "npm:@vangware/utils";

get("foo")({ foo: "bar" }); // "bar"

🌎 Browser

Import @vangware/utils using esm.sh, and use it directly:

<script type="module">
	import { get } from "https://esm.sh/@vangware/utils";

	get("foo")({ foo: "bar" }); // "bar"
</script>

Useful links