{"_id":"@brandund/csvtofirestore","_rev":"4-b97693be94e6d898f4ce5f4869077ec2","name":"@brandund/csvtofirestore","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"@brandund/csvtofirestore","version":"0.1.0","description":"This project converts CSV file to firebase firestore.","main":"index.js","scripts":{"start":"webpack-dev-server --mode development --open --hot","build":"eslint src && webpack --mode production","test":"jest --coverage","lint":"eslint src"},"repository":{"type":"git","url":"git+https://github.com/Frantab/csvToFirestore.git"},"keywords":["csv","firestore","firebase","convert"],"author":{"name":"Frantisek Bachrony"},"license":"ISC","bugs":{"url":"https://github.com/Frantab/csvToFirestore/issues"},"homepage":"https://github.com/Frantab/csvToFirestore#readme","devDependencies":{"@babel/core":"^7.4.4","@babel/preset-env":"^7.4.4","babel-jest":"^24.7.1","babel-loader":"^8.0.5","eslint":"^5.16.0","file-loader":"^3.0.1","firebase":"^5.11.0","jest":"^24.7.1","webpack":"^4.30.0","webpack-cli":"^3.3.1"},"gitHead":"162b9beb8c35df15f39d8961a420b1715ecbfc20","_id":"@brandund/csvtofirestore@0.1.0","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-EbJu3PIfbIieisjVUA0a5b390P/0vncn1evjCU0En+NQ+vIaDQ9p3O/axt4F4t8aCHFx7SeYA22cOe5epukFHw==","shasum":"93cc767f658e3c1837a1af96c2ad83824691ab6e","tarball":"https://registry.npmjs.org/@brandund/csvtofirestore/-/csvtofirestore-0.1.0.tgz","fileCount":5,"unpackedSize":9187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczC4zCRA9TVsSAnZWagAACrgP/1X/zi9saKb2XPn1j7Bh\n0YirjwpQQQ4qkeW1K7jQ8FhR4rZ7zfhtVy0b7GQ2QzTYC46k7UqYN0fMhB9H\nD1QgCthIv5lN4MdjXNKzdjNgICtAly4iv1FtFpGpqA1JgZxrXFFjkwxVUzls\nmaAzmWYyRxG6bRe3incVM1PvBmybhettG1yvBS6sHSBgMTBrJi1mGsgp7SOk\nLOralQnaegi17A7ijnbF3AdbtJ7goIAABJ1i8lQPw4e/68j9bACeZKsGNK+9\njSvcXIE2ODITgOYlWXuly4xId4/mLwcr2qntKgYUOnSWojaYgfsDKqBaHwLS\nwYcWE6PT13L6y1yAksmfGmrK2U3QqDKXHpkNDSGCV7gBlNd5N+7btXevmQjl\ndCP3ivoGGCuLSmFn+z6Tt/NcyY9TFlLLRAKTopMXOdYuKG1P4D0RbHCVbGby\nntXwjpvzgO9AOt9Ny5lqaWKfri2XxjbScZZaxcVjAb7WUjDArXUiOV5cKAcu\nHsSqZnvpJysnUKarzK+v0KCNW/HMxaszyc27gd8jhew+qWZ5XDewGIwQeCcA\n8BsM8O7D03hHoKy+zJ4Asd+nzmbqU4GMSYgjDoEDu25kBreq5PGsqKBXTn5o\ne+aFD14gLB0S8gHxBU8EPUO+x8oBgyzfpMUIydNNEvSCz7bFoXUMXArvD0K2\nBtT2\r\n=f9Fy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnB+L9RnaMhxm7bcQekFTow7ZPDL0nfBe0tHNu44HXngIgVSX+hEzazPa81xvUNta7BsAL0rAhL/rmWr4sgOd+6p8="}]},"maintainers":[{"name":"brandund","email":"frantisek.bachrony@gmail.com"}],"_npmUser":{"name":"brandund","email":"frantisek.bachrony@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csvtofirestore_0.1.0_1556885043047_0.9081483308857152"},"_hasShrinkwrap":false},"1.0.0":{"name":"@brandund/csvtofirestore","version":"1.0.0","description":"This project converts CSV file to firebase firestore.","main":"main.js","scripts":{"test":""},"repository":{"type":"git","url":"git+https://github.com/Frantab/csvToFirestore.git"},"keywords":["csv","firestore","firebase","convert"],"author":{"name":"Frantisek Bachrony"},"license":"MIT","bugs":{"url":"https://github.com/Frantab/csvToFirestore/issues"},"homepage":"https://github.com/Frantab/csvToFirestore#readme","devDependencies":{},"dependencies":{"commander":"^2.20.0","firebase":"^5.11.1"},"gitHead":"f3a185104a230a23e34dcef0ec6f92bfc6a7dd5a","_id":"@brandund/csvtofirestore@1.0.0","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-xTAbjP8qogDWBSzq4c3qCOysGnAtEq/3mm0UPTnpg/gC+bEkCzHEGqZRTGq4W4G4K2uAFvEhi9PCY5pbu2065Q==","shasum":"cd80dae4adce4a671d8cdcaa4f015d99959fe67b","tarball":"https://registry.npmjs.org/@brandund/csvtofirestore/-/csvtofirestore-1.0.0.tgz","fileCount":3,"unpackedSize":4527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0BiKCRA9TVsSAnZWagAA41UQAI1Gj6d7xgTFC47izZYU\nVxklT6kqOf5oWKRL+e87lJslbBBY08ItVk8Mu3uHCkY0vcBdAE45WIMprf/o\nkn0BGcLgEy8uYDQlI7DFWKSeTOYzhw8NazGfY21kNiFjUVGSuUNiGSsIUdhv\nd3UDKA23PlHDEwjCgIvjqVQP0W8XVxUCbqxdvwtDxYLEQQYn2Dr+4XB30roe\n5gCAd223XmuVPWjSkYHDWRL4wBVgu5WlJwW92dwECmxL2TA1mlcHdYGzASeX\nhnkxPO9ZUjyMtQcqW9cyk+tMotyMrnPHwQAtZS/ag7X+Iuw4A2PTf8CUfzSM\nZns0yWbhA6RBza0xevF9NgZuG6rAQ3JM5qhAlEZpinMBS6aVxfWq+XZlJuVS\n2Sb1VTssVyTebmxGJ2RfiKCerA8fPof8OJTWaV+mjSGQ7NrdpcJEuvbRLLPe\nSoPaWjkbx6UqpW+48hQYQUbwNv08C4/hEl29TMHN8HtX2qzno5mDiwWeizpJ\nAJRqb13NPKZvSwzwng+CPV3JgJcYrjkByw3b74CuhNRG5CZkGlSoYU/KqLzX\n1DXR4FkYHNa+Ru8xlW5a+WWgTTDuH2oodDvQBH/48YoR8EUGwv3IDNRLMGms\nVaA2k/0V6tVLkEd3UUDADaUkf5JC1QBFUZi8SOotpxZd18gH2wvdFO7BjPcZ\nG7Q0\r\n=CZBx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHV/3Of3d4pIllBo5SzrqD9paNUzT6BQtz6My725cVLAiEApoAtQAJzBlCMS6J2oLEe2zg7Q9tkLBNR/vGSjtGUY0Y="}]},"maintainers":[{"name":"brandund","email":"frantisek.bachrony@gmail.com"}],"_npmUser":{"name":"brandund","email":"frantisek.bachrony@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csvtofirestore_1.0.0_1557141642226_0.5942323086752681"},"_hasShrinkwrap":false},"1.0.1":{"name":"@brandund/csvtofirestore","version":"1.0.1","description":"This project converts CSV file to firebase firestore.","main":"main.js","scripts":{"test":""},"bin":{"csvtofirestore":"main.js"},"repository":{"type":"git","url":"git+https://github.com/Frantab/csvToFirestore.git"},"keywords":["csv","firestore","firebase","convert"],"author":{"name":"Frantisek Bachrony"},"license":"MIT","bugs":{"url":"https://github.com/Frantab/csvToFirestore/issues"},"homepage":"https://github.com/Frantab/csvToFirestore#readme","devDependencies":{},"dependencies":{"commander":"^2.20.0","firebase":"^5.11.1"},"gitHead":"2a2799e59449d8cfa11196427dcd6f997090bf66","_id":"@brandund/csvtofirestore@1.0.1","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-MIVzJmwr4e61StqLCMQFlvhEiFkUdgFPE82/HkAFFFs3uiLBcybPYE/dfc2NP8ArrVLGHaDtvDB8wm5vfurdTg==","shasum":"0d323df791ed2c11cda25f7d6f8e1356acf30009","tarball":"https://registry.npmjs.org/@brandund/csvtofirestore/-/csvtofirestore-1.0.1.tgz","fileCount":3,"unpackedSize":4622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0BpyCRA9TVsSAnZWagAAvRQP/0gEJND/spaWiUUzBpbp\nbr8jk03wjAQ8Ho9dMbqfUDJltKYcalf3z96rqh8bf2vtBCOaskty8ejpm3ua\ntDUQaQtQfw6IcWhK5XrvUD6W4Fu7brGyWGT6ry7KKEtWg3zWGWfwEawLluIL\nWKcdZjd6oZMVjwhU5byiMwLYxwBPgD0sjCdef/UAfcqjalLSnR9NOVkWK+qn\nLdh3rgkP1WzxDdp69zJFx7y3hpn+eQK4NETILl8ANpYXlCXKwnvcNFNs2y6S\no7pgOBuUFIdulBL/TnJBQzKYCIItZOp0mnh68+MeiSeH6SCD5Vhs3/CEtinw\ns5xWkk35Uk6pTwJvj7DHOLq7eXtxebcYgO5+WF6CSwbwSaQyuuOwjLSSphZe\nTBB052o1T71zP7UBfwvIKJzTJwdBU0X4WWABl3zCQGGO5crjXA7oxBTdaEhA\n5saHuW1SZ3RKfsU8yAAEMD4BsYUqeXqkIRB2tzA5FWQTrf4grKA0JEgOIEe7\n3M3ZUDKKUfwikr0e1mBeLr31Excla6knstBnRJHfzsbx8XtUPSUGk4pt0t6w\nzf+oJAfmoEe0RQNpGFtCxYBszZHmnpz2o8fuYRy4e0qBpje1vXKjudng2bVC\nTZu5+y5vmFOesFE2gQyU8AyWR45rcUEt/rJzFtFlDnYgo9H85HE9Ooo6r7eY\nwpR4\r\n=c2yW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHldLb9shRu705NGErfRrJczvIYW1tHzxMHHPGcxXCDAIgMDvYfCUiSOmZh64jq553+jYTwvU7uAE+a6dPA910SK4="}]},"maintainers":[{"name":"brandund","email":"frantisek.bachrony@gmail.com"}],"_npmUser":{"name":"brandund","email":"frantisek.bachrony@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csvtofirestore_1.0.1_1557142129910_0.4811287181679049"},"_hasShrinkwrap":false},"1.0.2":{"name":"@brandund/csvtofirestore","version":"1.0.2","description":"This project converts CSV file to firebase firestore.","main":"main.js","scripts":{"test":""},"bin":{"csvtofirestore":"main.js"},"repository":{"type":"git","url":"git+https://github.com/Frantab/csvToFirestore.git"},"keywords":["csv","firestore","firebase","convert"],"author":{"name":"Frantisek Bachrony"},"license":"MIT","bugs":{"url":"https://github.com/Frantab/csvToFirestore/issues"},"homepage":"https://github.com/Frantab/csvToFirestore#readme","devDependencies":{},"dependencies":{"commander":"^2.20.0","firebase":"^5.11.1"},"gitHead":"336b9de9e8cd20cc1c44c58eb34cb437e73f18dc","_id":"@brandund/csvtofirestore@1.0.2","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-xmv25kh3+D1/9SMVUwJdZAxxFBs59x6pYSr387YqqsPck0j0pFIDYXgOBzH+A0EQMZFbPO7jAgyvkjhNm24k2A==","shasum":"90127005bb0ff2c3a751d444d1a25bc4aa667294","tarball":"https://registry.npmjs.org/@brandund/csvtofirestore/-/csvtofirestore-1.0.2.tgz","fileCount":3,"unpackedSize":4636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0CHtCRA9TVsSAnZWagAAiF4P/2AemFv96uQ3AfoafJtG\nbWeBDkVrtzzbgx4ZfPPz5CHqc0uxrRv5QUR4wwUnHivort02it+KQAmHcspn\nCd/P8ftowIDl1oFeoADd47r1zvBjM9yWrVkF2i27KRzOl+msMLll8PC3e4nP\njVyJvalpTsSp8+A5nBBmGOZ90yyMgi0w9NOQ9RG+HI4ReKIANghSB2D11P7E\nlgDsOBh4LZTjjqlO9mHKBVYMqWPBw9hnFVqrLbnoQzKOokC5pJdmlgmL1OC/\nsoHOlUTHdpT47c6HdJaU0BgPhn9UVpAWCyhUpE9QapcK3Jbfx52048LjRfEw\npzCxeTcTW1dl5XGyk7jr8RZyH00+o3DIM6oVDxySm99iwZRF9wxjgU345ru7\n04OPjVZf2yBSKuWs/LJZO3sj4cernB+CIPDqOtyns2imPkkcSk1YYUhSv3vP\neZCDDAtT4IzdXV58rzy5NiKMdZRdwWCpjTdWsUc11+hrBjxfRpXf+9sl7YdM\n40hXr4mlLmRWigD6P+UTqaw7qOZDuZajLCpxvdFSJNKKn8oUOCxsWB6G8HBD\nXt1TV+pTwkScyIlNJoE2wljyG071ITQ1cC1LcQ+QKCzU6sawXg8z9VuzIT5Z\n7YJbUUG0qm5zRRKl4UVfMaR9H8Aa51o+BM59FqJZ1PPdv/YtKKfKTNDaV/d1\n49hi\r\n=iC0V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ1y2mUueAzN0NVSsuEVhZhIjIrk41ONskZH3EnKuVTgIhAIUWdtSz41PFVf7aoGtAOE0ynvyZIuUeGNNhjBh/vcKy"}]},"maintainers":[{"name":"brandund","email":"frantisek.bachrony@gmail.com"}],"_npmUser":{"name":"brandund","email":"frantisek.bachrony@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csvtofirestore_1.0.2_1557144044562_0.9088030775909803"},"_hasShrinkwrap":false}},"time":{"created":"2019-05-03T12:04:03.016Z","0.1.0":"2019-05-03T12:04:03.211Z","modified":"2022-04-04T20:26:32.278Z","1.0.0":"2019-05-06T11:20:42.354Z","1.0.1":"2019-05-06T11:28:50.020Z","1.0.2":"2019-05-06T12:00:44.772Z"},"maintainers":[{"name":"brandund","email":"frantisek.bachrony@gmail.com"}],"description":"This project converts CSV file to firebase firestore.","homepage":"https://github.com/Frantab/csvToFirestore#readme","keywords":["csv","firestore","firebase","convert"],"repository":{"type":"git","url":"git+https://github.com/Frantab/csvToFirestore.git"},"author":{"name":"Frantisek Bachrony"},"bugs":{"url":"https://github.com/Frantab/csvToFirestore/issues"},"license":"MIT","readme":"# csvtofirestore\nRealy basic (not smart we can say STUPID) javascript tool for converting data from csv file to firebase firestore.\n<span style=\"color:orange\">I created it for one my specific use. Contact me if you want something like this but you are not sure if this is solution of you problem :-)</span>\n\n## Installation\nInstall using npm:\n```\nnpm i -g @brandund/csvtofirestore\n```\n\n## Usage\n\n#### 1) Create empty dir and go in it.\n```bash\nmkdir what_ever\ncd what_ever\n```\n#### 2) Install `@brandund/csvtofirestore`.\n```bash\nnpm i -g @brandund/csvtofirestore\n```\n#### 3) Create `firebaseConfig.js` and add config of your firebase project into it.\n```bash\ntouch firebaseConfig.js\n```\nexample of `firebaseConfig.js`:\n```javascript\nmodule.exports = {\n    config: {\n        apiKey: \"<API_KEY>\",\n        authDomain: \"<AUTH_DOMAIN>\",\n        databaseURL: \"<DATABASE_URL>\",\n        projectId: \"<PROJECT_ID>\",\n        storageBucket: \"<STORAGE_BUCKET\",\n        messagingSenderId: \"<MESSAGING_SENDER_ID>\"\n    }\n};\n```\n#### 4) Copy your `.csv` file into `what_ever` folder.\n#### 5) Run `csvtofirestore` tool.\n```bash\ncsvtofirestore -F \"$(pwd)/firebaseConfig.js\" -C \"$(pwd)/data.csv\" -c 'users'\n```\n\n## Options\n```\n-V, --version                           output the version number\n-F, --firebase-config [firebaseConfig]  name of firebase firestore config file in the root folder\n-C, --csv [csv]                         name of csv file in the root folder\n-c, --collection [collection]           name of firestore collection\n-h, --help                              output usage information\n```","readmeFilename":"README.md"}