Skip to content

Commit

Permalink
use parse-s3-bucket-key dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoZoracKy committed Oct 9, 2018
1 parent 0c38bdf commit f96accf
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 34 deletions.
1 change: 0 additions & 1 deletion modules/parse-s3-bucket-key
Submodule parse-s3-bucket-key deleted from 1ad057
65 changes: 35 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "s3-csv-to-json",
"version": "0.0.7",
"version": "0.0.8",
"description": "Converts AWS S3 files from CSV to JSON lines via stream with support to gzip for both input and output. Ready to be used as a Node.js module, as a Lambda or via CLI.",
"main": "./src/s3-csv-to-json.js",
"author": {
Expand All @@ -24,7 +24,8 @@
"gz"
],
"dependencies": {
"csv-parser": "^2.0.0"
"csv-parser": "^2.0.0",
"parse-s3-bucket-key": "0.0.1"
},
"optionalDependencies": {
"aws-sdk": "^2.329.0"
Expand Down
2 changes: 1 addition & 1 deletion src/s3-csv-to-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const stream = require('stream');
const path = require('path');
const csv = require('csv-parser');
const zlib = require('zlib');
const parseS3BucketKey = require('../modules/parse-s3-bucket-key');
const parseS3BucketKey = require('parse-s3-bucket-key');

function createObjectToJsonLineStream() {
return new stream.Transform({
Expand Down

0 comments on commit f96accf

Please sign in to comment.