Socket
Socket
Sign inDemoInstall

@userfrosting/ts-log-adapter-ava

Package Overview
Dependencies
1
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @userfrosting/ts-log-adapter-ava

Plug ava test logging into ts-log compatible logging interfaces.


Version published
Maintainers
2
Install size
130 kB
Created

Changelog

Source

[0.1.1] - 2021-02-13

Fixed

  • Removed rogue postinstall script.

Readme

Source

ts-log-adapter-ava

BranchStatus
masterContinuous 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

Keywords

FAQs

Last updated on 13 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc