# micro-table 

[![npm](https://img.shields.io/npm/v/micro-table)](https://www.npmjs.com/package/micro-table) [![](https://data.jsdelivr.com/v1/package/npm/micro-table/badge)](https://www.jsdelivr.com/package/npm/micro-table)

| Statements                  | Branches                | Functions                 | Lines             |
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
| ![Statements](https://img.shields.io/badge/statements-97.17%25-brightgreen.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-84.37%25-yellow.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-97.26%25-brightgreen.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-96.89%25-brightgreen.svg?style=flat) |

micro-table is a small JavaScript library for performing data handling tasks on a dataframe (data table), defined as an array of JavaScript objects with consistent properties. It provides some common functions for manipulating and transforming data, using something of a functional programming approach.

It was not inspired by, but by accident has some similarities with Arquero.

Users should be advised that bad input may result in undefined or unexpected output!

## Resources
* Examples: [part I](https://observablehq.com/@stuwilmur/first-steps-with-micro-table) & [part II](https://observablehq.com/@stuwilmur/micro-table-user-guide-part-ii)
* [API Reference](https://github.com/stuwilmur/micro-table/blob/main/API.md)

## Installing
Using npm, run `npm i micro-table`.

## CDN
`import {model} from 'https://cdn.jsdelivr.net/npm/micro-table/+esm'`

[JSFiddle](https://jsfiddle.net/4w01ughb/)
