mongo-import

0.0.2 • Public • Published

mongo-import

This repo provides a script you can use to easily import csv files into mongodb.

Add mongo-import to your project

Add mongo-import to your package.json file as a development dependency.

npm install mongo-import --save-dev

or

yarn add mongo-import --dev

Add import scripts to you project

Update your package.json as follows:

  ...

  "scripts": {
    ...

    "import": mongo-import",

    ...
  },

  ...

Run the script

The script assumes that the .csv files you want to import are in your local tables folder.

npm run mongo-import

or

yarn mongo-import

License

  • To be added

Roadmap

  • To be added

Known Issues

  • To be added

Readme

Keywords

none

Package Sidebar

Install

npm i mongo-import

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • dpwhelan