Shared formatter helper for browser and Node.js environments. Version 1.0.0 provides a lightweight, isomorphic formatting utility that works consistently across both runtimes. Unlike larger formatting libraries, abtn-fmt focuses on simplicity and zero-dependency operation, making it suitable for projects that need basic formatting without overhead. Currently initial release with no planned release cadence documented.
npm install abtn-fmtNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic formatting of strings, dates, and numbers using named imports.
Use `import { format } from 'abtn-fmt'` instead of `import { format } from 'abtn-fmt/format'`.Use `import` syntax or dynamic `import()` in CJS contexts.
Use named imports like `import { format } from 'abtn-fmt'`.Use named import: `import { format } from 'abtn-fmt'`Change to `import { format } from 'abtn-fmt'` or use dynamic import: `const { format } = await import('abtn-fmt')`Import from package root: `import { format } from 'abtn-fmt'`No dependency data recorded yet.