Because deployment tools deserve better than sad
console.log()s.
Most loggers are backend-first or some sad cousin of console.log. devlogr isnβt.
This is structured logging with style, made for devtools, task runners, release scripts, and CLI utilities that actually run in terminalsβwhether it's your local shell or your CI pipeline.
No brittle hacks. No bland output. Just focused feedback, clean visuals, and useful contextβdesigned for the humans running your tools.
npm install @neofork/devlogr
import { createLogger } from '@neofork/devlogr';
const log = createLogger('my-cli');
log.title('π§ Setup');
log.info('Starting process');
log.success('Complete!');
log.startSpinner('Working...');
log.updateSpinnerText('Still going...');
log.completeSpinnerWithSuccess('All done!');
log.error('Something broke');
log.warning('This might be an issue');
log.info('FYI');
log.debug('Debugging info');
log.success('It worked!');
log.task('Running something...');
log.title('π Deployment Phase');
log.plain('No formatting here.');
log.startSpinner('Loading...');
log.updateSpinnerText('Still loading...');
log.succeedSpinner('Loaded');
log.failSpinner('Failed');
log.completeSpinnerWithSuccess('Mission accomplished');
Want to see DevLogr in action? Check out our comprehensive examples:
The examples include:
listr2Run any example with: npm run example:<name>
Complete API documentation is available at: https://neoforkdev.github.io/devlogr/
npm run docs # Generate TypeDoc documentation
npm run docs:serve # Generate and serve documentation locally
The documentation is automatically generated and deployed:
main β /latest/| Variable | Description | Example |
|---|---|---|
DEVLOGR_LOG_LEVEL | Set log level | debug |
DEVLOGR_OUTPUT_JSON | Structured logs | true |
DEVLOGR_SHOW_TIMESTAMP | Timestamps | false, true, iso |
DEVLOGR_NO_COLOR | Disable colors | true |
DEVLOGR_FORCE_COLOR | Force color | true |
DEVLOGR_NO_EMOJI | No emojis | true |
DEVLOGR_NO_UNICODE | ASCII only | true |
NO_COLOR | Global disable | 1 |
NO_EMOJI | Global disable emojis | 1 |
NO_UNICODE | Global disable Unicode | 1 |
npm run format # Check code formatting
npm run format:fix # Fix formatting
npm run lint # Lint check
npm run lint:fix # Fix linting issues
npm run check # Run all checks
npm run fix # Fix everything
MIT β Use it, fork it, log it.
Pull requests welcome. Tests required. Style optional but encouraged.