@ptx-showcase/utils
v0.1.0
Published
Shared utilities for PTX Showcase projects
Readme
@ptx-showcase/utils
Shared utilities for PTX Showcase projects.
📦 Installation
npm install @ptx-showcase/utilsor
bun add @ptx-showcase/utils🚀 Usage
Cookie utilities
import { setCookie, getCookie, deleteCookie } from '@ptx-showcase/utils/cookies'
// set cookie
setCookie('token', '123')
// get cookie
const token = getCookie('token')
// delete cookie
deleteCookie('token')📁 Available modules
@ptx-showcase/utils— base utilities@ptx-showcase/utils/cookie— cookie helpers
🧠 Features
- TypeScript support out of the box
- ESM + CommonJS compatibility
- Modular architecture (subpath imports)
- Lightweight and reusable across projects
🔄 Versioning
This package follows Semantic Versioning:
- patch — bug fixes
- minor — new features (backward compatible)
- major — breaking changes
📜 Changelog
See CHANGELOG.md for all changes.
📄 License
MIT
