@retrace-kit/sdk
v0.0.2
Published
Retrace-kit SDK
Readme
@bug-catcher/sdk
TypeScript SDK for Bug Catcher, built with Rslib (Rsbuild).
Install
npm install @bug-catcher/sdkUsage
ESM (Node.js / bundlers)
import { squared } from '@bug-catcher/sdk';CommonJS
const { squared } = require('@bug-catcher/sdk');UMD (browser)
<script src="https://unpkg.com/@bug-catcher/sdk/dist/umd/index.js"></script>
<script>
BugCatcher.squared(4); // 16
</script>Development
npm install
npm run dev # watch mode
npm run build # production buildBuild outputs:
| Format | Path |
| --- | --- |
| ESM | dist/index.js |
| CommonJS | dist/index.cjs |
| UMD | dist/umd/index.js |
| Types | dist/index.d.ts |
