Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 2.05 KB

README.md

File metadata and controls

65 lines (46 loc) · 2.05 KB

FBL Plugins: Crypto

Encrypt/decrypt files with ease in your fbl flows.

Tests Known Vulnerabilities codecov Total alerts Language grade: JavaScript

Integration

There are multiple ways how plugin can be integrated into your flow.

package.json

This is the most recommended way. Create package.json next to your flow file with following content:

{
  "name": "flow-name",
  "version": "1.0.0",
  "description": "",
  "scripts": {
    "fbl": "fbl"
  },
  "license": "UNLICENSED",
  "dependencies": {
    "@fbl-plugins/crypto": "1.1.0",
    "fbl": "1.7.0"
  }
}

Then you can install dependencies as any other node module yarn install depending on the package manager of your choice.

After that you can use yarn fbl <args> to execute your flow or even register a custom script inside "scripts".

Global installation

npm i -g @fbl-plugins/crypto

Register plugin to be accessible by fbl

  • via cli: fbl -p @fbl-plugins/crypto <args>
  • via flow:
requires:
  fbl: '>=1.7.0'
  plugins:
    '@fbl-plugins/crypto': '>=1.1.0'

pipeline:
  # your flow goes here

Action Handlers

Template Utilities