
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
Test your Alfy workflows
$ npm install alfy-test
import test from 'ava';
import alfyTest from 'alfy-test';
test('foo', async t => {
const alfy = alfyTest();
const result = await alfy('workflow input');
t.deepEqual(result, [
{
title: 'foo',
subtitle: 'bar'
}
]);
});
Returns an alfy instance.
Type: object
Type: object
A JSON object representing the user configuration.
Type: string
Default: '3.0.3'
Alfred version.
Type: string
Default: 'theme.urlimport.153A3C58-B2D9-4F08-B342-B0BF7F6E8DE9'
Alfred theme.
Type: string
Default: 'rgba(252,254,255,0.85)'
Background color.
Type: string
Default: 'rgba(255,255,255,0.26)'
Background color of a selected item.
Type: string
Default: '1'
Show the item subtitle.
Returns a Promise that returns the items of the workflow.
Type: string[]
Workflow input.
The alfy config instance.
The alfy cache instance.
FAQs
Test your Alfy workflows
The npm package alfy-test receives a total of 19 weekly downloads. As such, alfy-test popularity was classified as not popular.
We found that alfy-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.