
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Add AVA to your project
$ npm install ava-init
const avaInit = require('ava-init');
avaInit().then(() => {
console.log('done');
});
Returns a Promise
.
Type: string
Default: process.cwd()
Current working directory.
Type: Array
Default: CLI arguments (process.argv.slice(2)
)
For instance, with the arguments ['--foo', '--bar']
, the following will be put in package.json:
{
"name": "awesome-package",
"scripts": {
"test": "ava --foo --bar"
}
}
Install AVA globally $ npm install --global ava
and run $ ava --init [<options>]
.
MIT © Sindre Sorhus
FAQs
Add AVA to your project
The npm package ava-init receives a total of 47,957 weekly downloads. As such, ava-init popularity was classified as popular.
We found that ava-init demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.