open-index/open-npm huggingface dataset:
npm package: @michmich112/svelte-ag-grid
Description: > Forked from [Budibase/svelte-ag-grid](https://github.com/Budibase/svelte-ag-grid)
Latest version: 1.1.1

# svelte-ag-grid
> Forked from [Budibase/svelte-ag-grid](https://github.com/Budibase/svelte-ag-grid)

A barebones wrapper around ag-grid.

Example usage:
```svelte
<script>
  import AgGrid from "@michmich112/svelte-ag-grid";

  let data = [
    { make: "Toyota", model: "Celica", price: 35000 },
    { make: "Ford", model: "Mondeo", price: 32000 },
    { make: "Porsche", model: "Boxter", price: 72000 },
  ];

  let columnDefs = [
    {
      headerName: "Make",
      field: "make",
      sortable: true,
      editable: true,
    },
    { headerName: "Model", field: "model", sortable: true },
    { headerName: "Price", field: "price", sortable: true },
  ];
</script>

<style>
  :global(:root) {
    --grid-height: 500px;
  }
</style>

<AgGrid bind:data {columnDefs} />
```
npm package: @michmich112/svelte-chartjs
Description: [![npm version](https://badge.fury.io/js/svelte-chartjs.svg)](https://badge.fury.io/js/svelte-chartjs) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSauravKanchan%2Fsvelte-chartjs.svg?type=shield)](https://app.fossa.com/projects/g
Author: Saurav Kanchan
Latest version: 1.1.1

# svelte-chartjs
[![npm version](https://badge.fury.io/js/svelte-chartjs.svg)](https://badge.fury.io/js/svelte-chartjs)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSauravKanchan%2Fsvelte-chartjs.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FSauravKanchan%2Fsvelte-chartjs?ref=badge_shield)
![npm](https://img.shields.io/npm/dm/svelte-chartjs)

Svelte wrapper for [chart.js](https://www.chartjs.org/) Open for PRs and contributions!

Full Documentation and demo [here](https://saurav.tech/mdbsvelte/?path=/story/charts--installation)

### Installation 
```shell script
npm i svelte-chartjs
```

### Usage
```svelte
<script>
  import Line from "svelte-chartjs/src/Line.svelte"
</script>
<Line data={...} />
```

#### Custom Size
In order for Chart.js to obey the custom size you need to set `maintainAspectRatio` to false, example:
```svelte
<Bar
  data={data}
  width={100}
  height={50}
  options={{ maintainAspectRatio: false }}
/>
```


## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSauravKanchan%2Fsvelte-chartjs.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FSauravKanchan%2Fsvelte-chartjs?ref=badge_large)
npm package: @michpl/flatten-object
Description: Function to flatten object
Author: michPl
Latest version: 1.0.2

# Flattens object to a single level deep.

![example workflow](https://github.com/michPl/flatten-object/actions/workflows/ci_test.yml/badge.svg)

Simple function to flattens object to a single level deep object without dependencies. Can be useful for getting a request to MongoDB from an object.

## Install
`npm i -S @michpl/flatten-object`

## Example
```JavaScript
flattenObject({
  test: 1,
  deep: {
    level1: [{item1: 1}, {item1: 2}],
    deep: {
      level2: 2
    }
  }
})
/* returns {
  test: 1,
  'deep.level1.0.item1': 1,
  'deep.level1.1.item1': 2,
  'deep.deep.level2': 2
} */
```

## Options
| name              | type       | default    | description                   |
|-------------------|------------|------------|-------------------------------|
| flattenArray      | boolean    | true       | Set flatten array or not      |
| delimiter         | string     | '.'        | Delimiter for object keys     |