Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 7, 2024 via pnpm
Package summary
Share
0
issues
6
licenses
114
MIT
16
ISC
2
BSD-2-Clause
3
other licenses
Apache-2.0
1
BSD-3-Clause
1
(MIT OR CC0-1.0)
1
Package created
5 Jul 2014
Version published
16 Jun 2023
Maintainers
2
Total deps
135
Direct deps
43
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
114 Packages, Including:
@nodelib/fs.scandir@2.1.5
@nodelib/fs.stat@2.0.5
@nodelib/fs.walk@1.2.8
acorn-walk@8.3.2
acorn@8.11.3
aggregate-error@4.0.1
ansi-regex@5.0.1
ansi-regex@6.0.1
ansi-styles@4.3.0
ansi-styles@6.2.1
argparse@1.0.10
array-find-index@1.0.2
arrgv@1.0.2
arrify@3.0.0
ava@5.3.1
binary-extensions@2.3.0
blueimp-md5@2.19.0
braces@3.0.2
callsites@4.1.0
cbor@8.1.0
chalk@5.3.0
chokidar@3.6.0
chunkd@2.0.1
ci-info@3.9.0
ci-parallel-vars@1.0.1
clean-stack@4.2.0
clean-yaml-object@0.1.0
cli-truncate@3.1.0
code-excerpt@4.0.0
color-convert@2.0.1
color-name@1.1.4
convert-to-spaces@2.0.1
currently-unhandled@0.4.1
date-time@3.1.0
debug@4.3.4
dir-glob@3.0.1
eastasianwidth@0.2.0
emittery@1.0.3
emoji-regex@8.0.0
emoji-regex@9.2.2
escalade@3.1.2
escape-string-regexp@2.0.0
escape-string-regexp@5.0.0
fast-glob@3.3.2
figures@5.0.0
fill-range@7.0.1
find-up@6.3.0
fsevents@2.3.3
globby@13.2.2
ignore@5.3.1

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
16 Packages, Including:
anymatch@3.1.3
cliui@8.0.1
common-path-prefix@3.0.0
concordance@5.0.4
fastq@1.17.1
get-caller-file@2.0.5
glob-parent@5.1.2
ignore-by-default@2.1.0
lru-cache@6.0.0
semver@7.6.0
signal-exit@4.1.0
well-known-symbols@2.0.0
write-file-atomic@5.0.1
y18n@5.0.8
yallist@4.0.0
yargs-parser@21.1.1

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
esprima@4.0.1
esutils@2.0.3

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
1 Packages, Including:
fast-diff@1.3.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
sprintf-js@1.0.3

(MIT OR CC0-1.0)

Public Domain
1 Packages, Including:
type-fest@0.13.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

43
All Dependencies CSV
β“˜ This is a list of ava 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
acorn-walk8.3.29.29 kBMIT
prod
acorn8.11.3122.89 kBMIT
prod
ansi-styles6.2.15.66 kBMIT
prod
arrgv1.0.23.13 kBMIT
prod
arrify3.0.01.83 kBMIT
prod
callsites4.1.02.53 kBMIT
prod
cbor8.1.038.82 kBMIT
prod
chalk5.3.013.08 kBMIT
prod
chokidar3.6.025.83 kBMIT
prod
chunkd2.0.12.03 kBMIT
prod
ci-info3.9.07.21 kBMIT
prod
ci-parallel-vars1.0.12.15 kBMIT
prod
clean-yaml-object0.1.02.66 kBMIT
prod
cli-truncate3.1.03.45 kBMIT
prod
code-excerpt4.0.02.06 kBMIT
prod
common-path-prefix3.0.01.92 kBISC
prod
concordance5.0.433.78 kBISC
prod
currently-unhandled0.4.12.45 kBMIT
prod
debug4.3.412.94 kBMIT
prod
emittery1.0.345.47 kBMIT
prod
figures5.0.07.3 kBMIT
prod
globby13.2.26.82 kBMIT
prod
ignore-by-default2.1.01.68 kBISC
prod
indent-string5.0.02.18 kBMIT
prod
is-error2.2.22.67 kBMIT
prod
is-plain-object5.0.03.33 kBMIT
prod
is-promise4.0.01.58 kBMIT
prod
matcher5.0.03.81 kBMIT
prod
mem9.0.25.58 kBMIT
prod
ms2.1.32.9 kBMIT
prod
p-event5.0.15.9 kBMIT
prod
p-map5.5.05.27 kBMIT
prod
picomatch2.3.123.72 kBMIT
prod
pkg-conf4.0.02.96 kBMIT
prod
plur5.1.02.13 kBMIT
prod
pretty-ms8.0.03.66 kBMIT
prod
resolve-cwd3.0.01.91 kBMIT
prod
stack-utils2.0.65.34 kBMIT
prod
strip-ansi7.1.02.12 kBMIT
prod
supertap3.0.13.09 kBMIT
prod
temp-dir3.0.01.6 kBMIT
prod
write-file-atomic5.0.14.3 kBISC
prod
yargs17.7.264.15 kBMIT
prod

Visualizations

Frequently Asked Questions

What does ava do?

AVA is a powerful test runner for Node.js projects. It provides a concise API and detailed error output, embracing new language features and process isolation. This enables developers to write tests in an efficient and confident manner. AVA runs tests concurrently, enforces the writing of atomic tests, and provides no implicit globals. This results is minimal, fast tests and outputs that are simple to understand, allowing developers to troubleshoot and resolve errors quickly. AVA also includes TypeScript definitions and features such as Magic Assert for clearer, focused assertion messages, and an isolated environment for each test file for better control.

How do you use ava?

To use AVA effectively, first, install it to your Node.js project. You can easily setup AVA by running npm init ava in your console. This configures AVA in your package.json file. Alternatively, if you prefer Yarn, use yarn add ava --dev, or install AVA manually via npm install --save-dev ava.

Once installed, create a test file at the project root directory, for example test.js, and import the test module:

import test from 'ava';
test('foo', t => {
    t.pass();
});

test('bar', async t => {
    const bar = Promise.resolve('bar');
    t.is(await bar, 'bar');
});

Now you can run your tests with the command npm test, or if you're using npx, with the command npx ava. To run your tests in watch mode, use the command npx ava --watch.

Where are the ava docs?

The documentation for AVA is located in the "docs" directory of the AVA repository on GitHub. The documentation provides thorough information on various aspects of AVA, including writing tests, execution context, assertions, snapshot testing, command line (CLI) interface, and configuration. AVA also has a list of common pitfalls that developers may encounter while using AVA, as well as a diverse collection of useful recipes for specific situations. Ava's documentation can be found via this link. Feel free to explore these resources to get a better understanding of AVA and how to make the most of its features and capabilities.