Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alfred-config

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alfred-config

Allow easy user configurations for your Alfred workflows

  • 0.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
46
increased by21.05%
Maintainers
1
Weekly downloads
 
Created
Source

alfred-config Build Status

Allow easy user configurations for your Alfred workflows

Install

$ npm install --save alfred-config

Usage

Add the alfred-config command as postinstall script of your Alfred package.

{
	"name": "alfred-unicorn",
	"scripts": {
		"postinstall": "alfred-config"
	}
}

After installing the alfred-unicorn package, the system will open the text editor and allows your user to change the provided workflow configuration.

Workflow configuration

A workflow configuration is defined by a JSON file which allows comments.

{
	// GitHub API key
	"apiKey": "",

	// Throttling rate (requests per second)
	"throttling": 50,

	// GitHub user information
	"user": {
		"name": "",
		"email": ""
	}
}

You can provide defaults as well which the user can change after installing the package.

When your workflow evolves over time, you can add more properties or even remove deprecated ones. It will automatically merge the old user provided configuration with the new workflow configuration, removing unused properties.

  • alfy - Create Alfred workflows with ease

License

MIT © Sam Verschueren

Keywords

FAQs

Package last updated on 07 Aug 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc