Socket
Socket
Sign inDemoInstall

alfred-link

Package Overview
Dependencies
6
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    alfred-link

Make your Alfred workflows installable from npm


Version published
Weekly downloads
217
increased by60.74%
Maintainers
2
Install size
1.09 MB
Created
Weekly downloads
 

Readme

Source

Make your Alfred workflows installable from npm

Install

$ npm install --save alfred-link

Usage

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

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

You can now install the alfred-unicorn package like this

$ npm install -g alfred-unicorn.

This will update info.plist with the information from package.json and creates a unicorn symlink inside the Alfred workflows directory that points to the location of the alfred-unicorn module.

info.plist

This package will update the info.plist file when the workflow is being installed. The following properties in info.plist can be safely omitted. The corresponding values in package.json are added to the plist file.

info.plistpackage.json
namename
versionversion
descriptiondescription
createdbyauthor.name
webaddressauthor.url

Note: If the workflow is prefixed by alfred-, that prefix is being removed in the name of info.plist. For example, alfred-unicorn becomes unicorn.

  • alfy - Create Alfred workflows with ease

License

MIT © Sam Verschueren

Keywords

FAQs

Last updated on 26 Aug 2016

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