@neofork/devlogr - v0.0.1
    Preparing search index...

    @neofork/devlogr - v0.0.1

    @neofork/devlogr

    Because deployment tools deserve better than sad console.log()s.

    devlogr demo animation

    ⚑ The logger for UX-friendly deployment tools ⚑
    CLI-native, CI-compliant, emoji-sprinkled delight. No setup. All signal.

    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!');

    • 🎨 Looks Amazing – Styled output with color, emoji, and Unicode where supported
    • 🧠 Made for Humans – Clear, scannable messages designed for fast reading
    • πŸŒ€ Animated Spinners – Fully interactive, CI-safe feedback loops
    • βš™οΈ Zero Config – Drop-in defaults, full customization optional
    • 🧱 CLI-Native Design – Terminal-aware and CI-friendly
    • πŸ“„ JSON Mode – Structured logs when you need machine parsing
    • πŸ” Safe Logging – Handles circular refs and edge cases gracefully
    • πŸ§ͺ Fully Tested – 200+ tests across scenarios
    • πŸ™… No Visual Junk – Disables emoji, color, or Unicode when terminals can't handle them

    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:

    πŸ‘‰ View Examples

    The examples include:

    • All logging methods
    • Task sequencing and spinner chaining
    • JSON output mode
    • Environment config toggles
    • Integration with tools like listr2

    Run 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:

    • Latest: Updated on every push to main β†’ /latest/
    • Versioned: Created for each git tag β†’ /v0.0.1/, etc.

    VariableDescriptionExample
    DEVLOGR_LOG_LEVELSet log leveldebug
    DEVLOGR_OUTPUT_JSONStructured logstrue
    DEVLOGR_SHOW_TIMESTAMPTimestampsfalse, true, iso
    DEVLOGR_NO_COLORDisable colorstrue
    DEVLOGR_FORCE_COLORForce colortrue
    DEVLOGR_NO_EMOJINo emojistrue
    DEVLOGR_NO_UNICODEASCII onlytrue
    NO_COLORGlobal disable1
    NO_EMOJIGlobal disable emojis1
    NO_UNICODEGlobal disable Unicode1

    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

    • Terminal detection for auto-adjusted output
    • JSON-first mode disables visual effects for clean CI/CD output
    • Timestamps are optional and configurable
    • Visuals adapt for broken or minimal terminals

    MIT β€” Use it, fork it, log it.


    Pull requests welcome. Tests required. Style optional but encouraged.