@tryghost/mg-beehiiv-members
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

Migrate beehiiv Members csv Export

Converts a beehiiv members csv export and generates a csv file you can import into a Ghost installation.

Install

To install the CLI, which is required for the Usage commands below:

npm install --global @tryghost/migrate

To use this package in your own project:

npm install @tryghost/mg-beehiiv-members --save

or

yarn add @tryghost/mg-beehiiv-members

Usage

To run basic beehiiv member migration, the required command is this:

migrate beehiiv-members --pathToCsv /path/to/members.csv

A more complex command for a beehiiv member migration looks like this:

migrate beehiiv-members --pathToCsv /path/to/members.csv --verbose true

It's possible to pass more options, in order to achieve a better migration file for Ghost:

  • --pathToCsv (required)
    • Path to members CSV file
    • string - default: null
  • --cache
    • Persist local cache after migration is complete (Only if --zip is true)
    • bool - default: true
  • -V --verbose
    • Show verbose output
    • bool - default: false
  • --zip
    • Create a zip file
    • bool - default: false

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

To run a local development copy, cd into this directory, and use yarn dev instead of migrate like so:

yarn dev beehiiv <commands>

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2023 Ghost Foundation - Released under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i @tryghost/mg-beehiiv-members

Weekly Downloads

71

Version

0.1.9

License

MIT

Unpacked Size

10 kB

Total Files

12

Last publish

Collaborators

  • ryan_feigenbaum
  • erik-ghost
  • dvdwinden
  • vershwal
  • 9larsons
  • mike182uk
  • sagzy
  • chrisraible
  • jonhickman
  • kernalghost
  • hadret
  • minimaluminium
  • ronaldlangeveld
  • joeegrigg
  • sanne-san
  • djordjevlais
  • bobvaneck
  • zimoatghost
  • allouis
  • gargol
  • erisds
  • johnonolan
  • kevinansfield
  • cobbspur
  • aileencgn
  • jloh
  • daniellockyer
  • sam-lord
  • pauladamdavis