Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Base58 filter plugin for Embulk

Build Status Coverage Status

Embulk filter plugin to convert hex to base58 and vice versa.

Overview

  • Plugin type: filter

Configuration

  • columns: Columns to encode/decode (array, required)
    • name: Name of input column (string, required)
    • encode: Whether to encode or decode the value. (boolean, default:true)
    • prefix: Adds a prefix when encoding, or strips the prefix when decoding. (string, default:"")
    • new_name: New column name if you want to rename (string, default: null)

Example

filters:
  - type: base58
    columns:
    - { name: _id }
    - { name: account_id, encode: true, prefix: account_, new_name: public_account_id }

Build

$ ./gradlew gem  # -t to watch change of files and rebuild continuously

Hat tip to kamatama41/embulk-filter-hash

About

Base58 encoder/decoder for Embulk

Resources

License

Releases

No releases published

Packages

No packages published