@fbl-plugins/html-to-img
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

FBL Plugins: HTML to Image

Allows to convert any HTML document into image inside fbl flow.

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/html-to-img": "1.0.0",
    "fbl": "1.9.2"
  }
}

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/html-to-img

Register plugin to be accessible by fbl

  • via cli: fbl -p @fbl-plugins/html-to-img <args>
  • via flow:
requires:
  fbl: '>=1.9.2'
  plugins:
    '@fbl-plugins/html-to-img': '>=1.0.0'

pipeline:
  # your flow goes here

Documentation

Read more here.

Dependencies (4)

Dev Dependencies (28)

Package Sidebar

Install

npm i @fbl-plugins/html-to-img

Weekly Downloads

1

Version

1.2.1

License

MIT

Unpacked Size

28.4 kB

Total Files

19

Last publish

Collaborators

  • vlad-tkachenko