0.4.19 • Published 5 days ago

@tryghost/mg-curated-members-csv v0.4.19

Weekly downloads
-
License
MIT
Repository
github
Last release
5 days ago

Curated Ghost CSV Converter

Converts the "Subscribers" CSV export from Curated to a CSV compatible with Ghost.

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-curated-members-csv --save

or

yarn add @tryghost/mg-curated-members-csv

Usage

To run a Curated CSV migration, the required command is:

migrate curated-members --pathToFile /path/to/emails.csv

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

  • --pathToFile (required)
    • Path to the signups CSV file as generated by Curated
    • string - default: null
  • -V --verbose
    • Show verbose output
    • bool - default: false
  • -l --limit
    • Define the batch limit for import files
    • int - default: 5000
  • --freeLabel
    • Provide a label for Curated free subscribers
    • string - default: curated-free
  • --cache
    • Persist local cache after migration is complete (Only if --zip is true)
    • bool - default: true

A more complex migration command that accounts for Stripe data could look like this:

migrate curated-members emails.csv --freeLabel Newsletter --limit 1000

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 curated-members --pathToFile /path/to/emails.csv

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.

0.4.19

5 days ago

0.4.18

21 days ago

0.4.17

2 months ago

0.4.16

4 months ago

0.4.15

5 months ago

0.4.14

5 months ago

0.4.9

9 months ago

0.4.8

10 months ago

0.4.10

9 months ago

0.4.13

7 months ago

0.4.11

7 months ago

0.4.12

7 months ago

0.4.7

11 months ago

0.4.5

1 year ago

0.4.6

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.7

1 year ago

0.3.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.2.19

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.13

2 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago