Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @fbl-plugins/crypto with all npm packages installed. Try it out:

require("fbl/package.json"); // fbl is a peer dependency. var crypto = require("@fbl-plugins/crypto")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@fbl-plugins/crypto v1.2.1

FBL file encryption/decryption plugin

FBL Plugins: Crypto

Encrypt/decrypt files with ease in your fbl flows.

CircleCI Greenkeeper badge 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-plguins/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-plguins/crypto

Register plugin to be accessible by fbl

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

pipeline:
  # your flow goes here

Action Handlers

Template Utilities

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free