klyper
v0.3.0
Published
Unified public entrypoint for the Klyper packages.
Downloads
25
Readme
klyper
Unified public entrypoint for selected Klyper packages.
Use this package when you want a single import surface instead of installing and
importing individual @klyper/* packages directly.
Installation
npm install klyperThis package is published as an ES module package and also exposes a CommonJS
entry through main and exports.require.
Included Packages
This version reexports:
@klyper/types
Usage
import { isObject, isString, type } from "klyper";
const value: unknown = { title: "Klyper" };
if (isObject(value) && isString(value.title)) {
value.title.toUpperCase();
}
type(value); // "object"Development
npm run build --workspace klyper
npm run check --workspace klyper
npm run lint --workspace klyper
npm test --workspace klyperbuild uses Rollup for the package output. check runs TypeScript without emitting files.
