@userfrosting/ts-log-adapter-ava
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.1 • Public • Published

    ts-log-adapter-ava

    Branch Status
    master Continuous Integration codecov

    An adapter for the ts-log interface that pushes logging to ava.

    Install

    npm i @userfrosting/ts-log-adapter-ava

    Usage

    IMPORTANT
    This is an ES module package targeting NodeJS ^12.17.0 || >=13.2.0. Learn more at the NodeJS ESM docs.

    import test from "ava";
    import { logAdapter } from "@userfrosting/ts-log-adapter-ava";
    import main from "./main.js";
    
    test("example", t => {
        const result = main(logAdapter(t.log));
        t.true(result);
    });

    API

    API documentation is regenerated for every release using API Extractor and API Documenter. The results reside in docs/api.

    Release process

    Generally speaking, all releases should first traverse through alpha, beta, and rc (release candidate) to catch missed bugs and gather feedback as appropriate. Aside from this however, there are a few steps that MUST always be done.

    1. Make sure CHANGELOG.md is up to date.
    2. Update version via npm like npm version 3.0.0 or npm version patch.
    3. npm publish.
    4. Create release on GitHub from tag made by npm version.

    License

    MIT

    Install

    npm i @userfrosting/ts-log-adapter-ava

    DownloadsWeekly Downloads

    37

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    8.72 kB

    Total Files

    12

    Last publish

    Collaborators

    • alexweissman
    • siliconsoldier