open-index/open-npm huggingface dataset:
npm package: @mskashef/array2matrix
Description: Array to matrix converter.
Author: mskashef
Latest version: 1.0.1

# Array to Matrix converter

## Sample Usage

```js
const a2m = require("@mskashef/array2matrix");
const array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
console.log(a2m(array, 3));
/*
OUTPUT:
[
  [1, 2, 3, 4],
  [5, 6, 7, 8],
  [9,10,11,12]
]
*/
```
## API Document

### Input Params
This function requires two input params: 
1. array: The array we want to convert to matrix
2. rowsLength: the length of the matrix rows

### Output
It converts that array to a matrix then returns it (returns an array of arrays).
npm package: @mskashef/merge-k-sorted-lists
Description: Merge k sorted lists
Author: mskashef
Latest version: 1.0.1

# Merge K Sorted Lists

You can merge multiple sorted lists using this module.

## Sample Usage

```js
const mergeKSortedLists = require("@mskashef/merge-k-sorted-lists");
const list1 = [1, 3, 5, 7];
const list2 = [2, 4, 6, 8];
const list3 = [9, 10, 11, 12];
console.log(mergeKSortedLists(
  list1, list2, list3
));
/*
OUTPUT:
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
*/
```
npm package: @mskashef/random-string-generator
Description: Random String Generator
Author: mskashef
Latest version: 1.0.3

# Random String Generator

### Sample Usage

```js
const RandomStringGenerator = require("@mskashef/random-string-generator");

const myRSG = RandomStringGenerator('0123456789ABCDEF', 6);

console.log(myRSG.new()); // C57F56
console.log(myRSG.new()); // 071F93
console.log(myRSG.new()); // 79DD28
console.log(myRSG.new()); // 88F402
console.log(myRSG.new()); // 42CF9C
```

or with a custom length at each time: 
```js
console.log(myRSG.new(5)); // 6AE7F
```
npm package: @mskcc/analytics-plugin-splunk
Description: <!-- title: MSKCC Splunk Analytics Plugin description: Using the Splunk Analytics -->
Author: Sean Daniels
Latest version: 0.3.0

<!--
title: MSKCC Splunk Analytics Plugin
description: Using the Splunk Analytics
-->

# MSKCC Splunk plugin for analytics

Integration with MSKCC Splunk for
[analytics](https://www.npmjs.com/package/analytics)

For more information [see the docs](https://getanalytics.io/).

<!-- AUTO-GENERATED-CONTENT:START (TOC:collapse=true&collapseText=Click to expand) -->
<!-- <details>
<summary>Click to expand</summary>

- [Installation](#installation)
- [How to use](#how-to-use)
- [Platforms Supported](#platforms-supported)
- [Browser usage](#browser-usage)
  - [Browser API](#browser-api)
  - [Configuration options for browser](#configuration-options-for-browser)
- [Additional examples](#additional-examples)
- [Configuring GTM](#configuring-gtm)
- [Using multiple instances of GTM](#using-multiple-instances-of-gtm)
- [Custom name for dataLayer-object](#custom-name-for-datalayer-object)
- [Tracking if JS is disabled](#tracking-if-js-is-disabled)

</details>
<!-- AUTO-GENERATED-CONTENT:END (TOC) -->

## Installation

Install `analytics` and `@mskcc/analytics-plugin-splunk` packages

```npm
npm install analytics
npm install @mskcc/analytics-plugin-splunk
```

```pnpm
pnpm install analytics
pnpm install @mskcc/analytics-plugin-splunk
```

<!-- AUTO-GENERATED-CONTENT:START (PLUGIN_DOCS) -->

## How to use

The `@mskcc/analytics-plugin-splunk` package works in the browser. To use,
install the package, include in your project and initialize the plugin with
[analytics](https://www.npmjs.com/package/analytics).

Below is an example of how to use the browser plugin. Export

```js
// analytics.js
import MSKClickTracking from '@mskcc/analytics-plugin-splunk';
import Analytics from 'analytics';

export default Analytics({
  app: 'app-name',
  plugins: [
    MSKClickTracking({
      siteURL: process.env.SPLUNK_URL,
      apiKey: process.env.SPLUNK_API,
    }),
  ],
});
```

```js
// app.js
import analytics from './analytics';
/* Track events */
analytics.track('Here is a test with NPM Analytic Module', {
  testProperty: true,
});
```
npm package: @mskcc/analytics-plugin-splunk-rest
Description: <!-- title: MSKCC Splunk Analytics Plugin description: Using the Splunk Analytics -->
Author: Sean Daniels
Latest version: 0.2.0

<!--
title: MSKCC Splunk Analytics Plugin
description: Using the Splunk Analytics
-->

# MSKCC Splunk plugin for analytics

Integration with MSKCC Splunk for
[analytics](https://www.npmjs.com/package/analytics)

For more information [see the docs](https://getanalytics.io/).

<!-- AUTO-GENERATED-CONTENT:START (TOC:collapse=true&collapseText=Click to expand) -->
<!-- <details>
<summary>Click to expand</summary>

- [Installation](#installation)
- [How to use](#how-to-use)
- [Platforms Supported](#platforms-supported)
- [Browser usage](#browser-usage)
  - [Browser API](#browser-api)
  - [Configuration options for browser](#configuration-options-for-browser)
- [Additional examples](#additional-examples)
- [Configuring GTM](#configuring-gtm)
- [Using multiple instances of GTM](#using-multiple-instances-of-gtm)
- [Custom name for dataLayer-object](#custom-name-for-datalayer-object)
- [Tracking if JS is disabled](#tracking-if-js-is-disabled)

</details>
<!-- AUTO-GENERATED-CONTENT:END (TOC) -->

## Installation

Install `analytics` and `@mskcc/splunk-clicktracking` packages

```npm
npm install analytics
npm install @mskcc/splunk-clicktracking
```

```pnpm
pnpm install analytics
pnpm install @mskcc/splunk-clicktracking
```

<!-- AUTO-GENERATED-CONTENT:START (PLUGIN_DOCS) -->

## How to use

The `@mskcc/splunk-clicktracking` package works in the browser. To use, install
the package, include in your project and initialize the plugin with
[analytics](https://www.npmjs.com/package/analytics).

Below is an example of how to use the browser plugin. Export

```js
// analytics.js
import MSKClickTracking from 'clicktracking';
import Analytics from 'analytics';

export default Analytics({
  app: 'app-name',
  plugins: [
    MSKClickTracking({
      siteURL: process.env.SPLUNK_URL,
      apiKey: process.env.SPLUNK_API,
    }),
  ],
});
```

```js
// app.js
import analytics from './analytics';
/* Track events */
analytics.track('Here is a test with NPM Analytic Module', {
  testProperty: true,
});
```