0.3.2 • Published 8 years ago

preview-tabular-data v0.3.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

preview-tabular-data

Extract the first n lines of tabular dataset.

API

import { head } from 'preview-tabular-data';

head(readable, contentType, opts, (err, head, columns) => {
 // do something with head and columns
});

opts is an object with:

  • nHead, the number of rows to extract for the head (defaults to Infinity).
  • nSample, the number of rows to use to comput the columns description. (defaults to Infinity)

Tests

npm test

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.4

9 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago