select-csv 1.1.9 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -65,7 +65,7 @@ parse = parseText(
65
65
  const result = parse.get(); //Return all rows
66
66
  /*
67
67
  {
68
- time:1 ms,
68
+ time:'1 ms',
69
69
  header:["Index","User Id","First Name","Last Name","Sex"],
70
70
  rows:[
71
71
  ["1","5f10e9D33fC5f2b","Sara","Mcguire","Female"],
@@ -318,7 +318,7 @@ const option = {
318
318
  const result = parse.chunk(3)
319
319
  /*
320
320
  {
321
- time: 0 ms,
321
+ time: '0 ms',
322
322
  header: [ 'Index', 'User Id', 'First Name', 'Last Name', 'Sex' ],
323
323
  rows: [
324
324
  {
@@ -380,7 +380,7 @@ var result;
380
380
  result = parse.chunk(100000)
381
381
  /*
382
382
  {
383
- time: 222 ms,
383
+ time: '222 ms',
384
384
  header: false,
385
385
  rows: [
386
386
  [ '198801', '1', '103', '100', '000000190', '0', '35843', '34353' ],
@@ -410,7 +410,7 @@ result = parse.chunk(100000)
410
410
  result = parse.chunk(3) // Return row 100001,100002 and 100003 (Get rows from last offset saved)
411
411
  /*
412
412
  {
413
- time: 1 ms,
413
+ time: '1 ms',
414
414
  header: false,
415
415
  rows: [
416
416
  [ '198801', '1', '326', '500', '841330000', '90', '81', '246' ],
@@ -426,7 +426,7 @@ const to = from + 5;
426
426
  result = parse.rowOffset(from,to)
427
427
  /*
428
428
  {
429
- time: 3743 ms,
429
+ time: '3743 ms',
430
430
  header: false,
431
431
  rows: [
432
432
  [
@@ -449,7 +449,7 @@ const to = from + 4;
449
449
  result = parse.rowOffset(from,to)
450
450
  /*
451
451
  {
452
- time: 44126 ms,
452
+ time: '44126 ms',
453
453
  header: false,
454
454
  rows: [
455
455
  [ '201412', '1', '125', '400', '283525000', '0', '160000', '6492' ],
@@ -464,7 +464,7 @@ result = parse.rowOffset(from,to)
464
464
  result = parse.chunk(3) // Get rows from last offset saved ( row to,to+1 and to+2 )
465
465
  /*
466
466
  {
467
- time: 29 ms,
467
+ time: '29 ms',
468
468
  header: false,
469
469
  rows: [
470
470
  [ '201412', '1', '125', '400', '400932000', '0', '18', '526' ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "select-csv",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "Fastest, simplest and most powerful package of all existing libraries in npmjs. It converts .csv files into an array and even into lines. It contains two important functions parseCsv that handles a csv file, you only need a link to the file. And parseText deals with text, and they both have the same roles and and methods",
5
5
  "keywords": [
6
6
  "csv",