Collection of TypeScript types to be used as base for development of 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 on 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 can be found HERE. It is auto-generated with typedoc based on the JSDocs and the types in the source. Shouldn't be necessary to read this, code editors like VSCode integrate the documentation in the UI.
Changelog
Changelog can be found HERE.