fd982fef73
no issue - When processing CSV files `parse` function now allows for the client to specify "mapping" parameter in format of a hash as follows: { destination_property_name: 'source_column_name'} e.g.: { name: 'weird_name_column', email: 'email_column' } - It is done so to allow for the end user to provide exact mapping of the fields to be transformed into JSON. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
Members Csv
Install
npm install @tryghost/members-csv --save
or
yarn add @tryghost/members-csv
Usage
Develop
This is a mono repository, managed with lerna.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests
Copyright & License
Copyright (c) 2020 Ghost Foundation - Released under the MIT license.