period-newline is a tiny zero-dependency text formatter that inserts a newline after every period. Version 0.1.0 is the current stable release. It is a simple utility with no significant release cadence. Key differentiator: minimal, pure format transformations for plaintext.
npm install period-newlineNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates importing and using periodNewline to insert newlines after periods.
Use `import { periodNewline } from 'period-newline'` or destructure require.Consider trimming or handling output if this behavior is undesired.
Use a more comprehensive formatter if other punctuation is needed.
Change `import periodNewline from 'period-newline'` to `import { periodNewline } from 'period-newline'`.Use `const { periodNewline } = require('period-newline')`.No dependency data recorded yet.