@lou.codes/utils
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

Coverage License NPM Version Open Issues Size

⚒️ Lou's Code TypeScript curried functional utils.

Usage

📦 Node

Install @lou.codes/utils as a dependency:

pnpm add @lou.codes/utils
# or
npm install @lou.codes/utils
# or
yarn add @lou.codes/utils

Import it and use it:

import { get } from "@lou.codes/utils";

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

🦕 Deno

Import @lou.codes/utils using the npm: prefix, and use it directly:

import { get } from "npm:@lou.codes/utils";

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

🌎 Browser

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

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

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

Useful links

Package Sidebar

Install

npm i @lou.codes/utils

Weekly Downloads

124

Version

3.0.4

License

MIT

Unpacked Size

49.6 kB

Total Files

97

Last publish

Collaborators

  • loucyx