🚧 Work in progress.
dte-sdkis a placeholder release. The public API is not available yet — for now the package only exports ahello()function.
dte-sdk will be a TypeScript toolkit for working with Chilean DTE
(Documento Tributario Electrónico) as defined by the SII.
- 🪶 Tiny & zero-dependency — tree-shakeable ESM, ships only what you import.
- 🧠 Fully typed — first-class TypeScript types, no
@typespackage needed. - 🌐 Universal — runs in Node (>= 20), the browser, Deno and Bun.
npm install dte-sdk
# or: bun add dte-sdk · pnpm add dte-sdk · yarn add dte-sdkimport { hello } from 'dte-sdk'
hello() // 'dte-sdk is coming'CommonJS works too:
const { hello } = require('dte-sdk')npm install # also builds via `prepare`
npm test # unit, type-level and dist smoke tests
npm test -- --coverage
npm run build # tsc (ESM + CJS) + terser
npm run lint # ESLint flat config + Prettier
npm run size # bundle size guard (.size-limit.json)
npm run mutation # Stryker mutation testing (manual, not a CI gate)Releases are tag-triggered and published from CI with npm provenance — see RELEASING.md.
Contributions are welcome — feel free to open issues for bugs and feature requests, or submit a pull request.
MIT © dte-sdk contributors