Wasson-ECE's TypeScript standard library.
This is a somewhat eclectic collection of functions, types, etc. that we find useful in different projects that we've pulled into a standard library.
First, add this registry in your project's .npmrc file:
@wasson-ece:registry=https://npm.pkg.github.com
or, if you're using Yarn 4.x, to you .yarnrc.yml file:
npmScopes:
wasson-ece:
npmRegistryServer: "https://npm.pkg.github.com"
Then just install @wasson-ece/wstd as normal, e.g.:
yarn add @wasson-ece/wstd
You can import the entire package to rely on your packer to do any code splitting, or you can perform more specific imports yourself:
import { safeConcat } from "@wasson-ece/wstd";
To generate documentation, run make build:docs. Or read the
latest release documentation online.