Collection of TypeScript types to use as a base for developing other libraries.
Usage
If you're on a Node environment, install @vangware/types
as a dependency:
# If you use npm
npm install @vangware/types
# If you use pnpm
pnpm add @vangware/types
# If you use yarn
yarn add @vangware/types
And then, you can import it into your code:
import type { Unary } from "@vangware/types";
If you're on a Deno environment, then you can use esm.sh to install
@vangware/types
:
import type { Unary } from "https://esm.sh/@vangware/types";
Documentation
Documentation is available HERE. It is auto-generated with typedoc based on the JSDocs and the types in the source. It shouldn't be necessary to read this. Code editors like VS Code integrate the documentation in the UI.
Changelog
Changelog can be found HERE.