Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

the-business-of-cities/tboc-date-import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#tboc-date-import

Setup

npm install

Create import config

{ "spaceId": , "managementToken": , "contentFile": "import.json" }

(Optional) Create export config

{ "spaceId": , "managementToken": , "contentFile": "export.json" }

CSV Input

Add the desired dates in the root dir, emulating the structure of example-dates.csv.

Using the package

  1. Convert the CSV file to JSON:

npm run build

  1. Import the JSON into Contentful

npm run import

Releases

No releases published

Packages

No packages published