open-index/open-npm huggingface dataset:
npm package: @pi-lib/charts
Description: Simple charting solution driven by d3 and TS
Author: Lance Taylor
Latest version: 0.12.3

# pi-charts

[![Tests](https://github.com/lancerael/pi-charts/workflows/Tests/badge.svg?branch=master)](https://github.com/lancerael/pi-charts/actions?query=workflow%3A%22Tests%22)
[![License](https://badgen.net/github/license/lancerael/pi-charts)](https://github.com/lancerael/pi-charts/blob/master/LICENSE)

A charting library for visualization of complex data, to be used in any JavaScript based project.

## Overview

A simple API for the creation of SVG charts.
Responsive in any device, providing additional detail via hover/touch tooltips.

## Charts added so far

# Bar Chart

```
<div class="container"></div>
<script>
  window.onload = function () {
    const chart = new Chart({ container: '.container', ...randomData() }).addDefaults()
  }
</script>
```

## PNPM tasks

- `lint`: Code formatting
- `test`: Run unit tests
- `build`: Build distributable
- `dev`: Run development server
npm package: @pi-team-mn/aws-sf-task-runner
Description: Continuously fetch and run an AWS Step Function activity task
Author: pi-team@mn.nl
Latest version: 1.0.2

# aws-sf-task-runner
<a href="https://circleci.com/gh/pi-team-mn/aws-sf-task-runner/tree/master">
        <img src="https://circleci.com/gh/pi-team-mn/aws-sf-task-runner/tree/master.svg?style=svg"
            alt="build status"></a>
Continuously fetch and run an AWS Step Function activity task

```javascript
import { runForever } from './task-runner';

// Your own custom processor
// > input will be already JSON parsed by the task runner
// > the task runner will also JSON stringify you return value
function myProcessor(input) {
    console.log(input);
    return {'your own': 'custom result'};
}

// The task name should be set as an anvironment variable:
process.env.TASK_NAME='your-task-name-is-the-last-part-of-the-activity-arn';

runForever(myProcessor).catch(err => console.error(err));
```
npm package: @pi-team-mn/envkey
Description: Read an environment key or throw an error if it's not set
Author: pi-team@mn.nl
Latest version: 1.0.6

# @pi-team-mn/envkey
<a href="https://circleci.com/gh/pi-team-mn/envkey/tree/master">
        <img src="https://circleci.com/gh/pi-team-mn/envkey/tree/master.svg?style=svg"
            alt="build status"></a>

Read an environment key or throw an error if it's not set


```javascript
import { envkey } from '@pi-team-mn/envkey';

console.log(process.env.MY_ENV_KEY); // 'thevalue'
const MY_ENV_KEY_VALUE = envkey(MY_ENV_KEY);
console.log(MY_ENV_KEY_VALUE);  // 'thevalue'

console.log(process.env.NOT_SET); // undefined
const NOT_SET_VALUE = envkey(NOT_SET); // throws an error
```
npm package: @pi-team-mn/frontoffice-client
Description: Client library for FrontOffice
Author: PI Team
Latest version: 2.1.0

# FrontOffice Client

A client library to talk to frontoffice

## Example

```typescript
import { envkey } from '@pi-team-mn/envkey/lib/envkey';
import { Configuration, ConfigurationParameters, PersoonsgegevensApiFp } from '@pi-team-mn/frontoffice-client';

function buildPersoonsGegevensApi() {
    // get params
    const baseurl = envkey('FO_URL');
    const username = 'MDTPI';
    const password = envkey('FO_PASSWORD');

    // Build configuration instance
    const configParams: ConfigurationParameters = {
        username,
        basePath: baseurl,
        password
    };
    const config = new Configuration(configParams);

    // return
    return PersoonsgegevensApiFp(config);
}
```