@teo-garcia/ts-core
v0.1.1
Published
Framework-free TypeScript utilities for the teo-garcia template portfolio
Maintainers
Readme
@teo-garcia/ts-core
Framework-free TypeScript helpers for the teo-garcia template portfolio
Part of the @teo-garcia/templates ecosystem
Overview
Pure TypeScript utilities that are safe to share across React, React Native, and non-React templates.
This package is intentionally narrow. It should contain only helpers with no dependency on React, the DOM, browser storage, native runtime APIs, or framework-specific conventions.
Exports
| Export | Description |
| ---------------------------------- | ------------------------------- |
| @teo-garcia/ts-core | Root barrel for pure utilities |
| @teo-garcia/ts-core/utils | Utility barrel for deep imports |
| @teo-garcia/ts-core/utils/<name> | Deep imports for each utility |
Included
- Array helpers like
chunk - Number helpers like
clamp - String helpers like
capitalize - Object helpers like
pickandomit - Array helpers like
groupBy,partition, andrange - Assertion helpers like
invariant - Formatting helpers like
formatDateandformatNumber - Small reusable helpers like
noop,sleep,truncate, anduniqueBy
Not Included
- React components or hooks
- DOM, browser, or native platform APIs
- Storage, theme, navigation, or rendering helpers
- Tailwind, CSS, or UI-specific helpers
- Framework adapters of any kind
Development
pnpm build
pnpm test
pnpm checkLicense
MIT
