open-index/open-npm huggingface dataset:
npm package: @rkesters/dsp.ts
Description: Digital Signal Processing for Typescript
Author: Corban Brook, Robert Kesterson
Latest version: 0.0.3

# DSP.ts

DSP.ts is a comprehensive digital signal processing library for typrscript.
It includes many functions for signal analysis and generation, including
Oscillators (sine, saw, square, triangle), Window functions (Hann, Hamming, etc),
Envelopes (ADSR), IIR Filters (lowpass, highpass, bandpass, notch), FFT and DFT
transforms, Delays, Reverb.

## FORKED

This project was forked from https://github.com/corbanbrook/dsp.js.git and then convert to Typescript.

## Modules

-   `DFT(bufferSize, sampleRate)`: Discrete Fourier Transform

    -   Usage:
        ```js
        var dft = new DFT(1024, 44100);
        dft.forward(signal);
        var spectrum = dft.spectrum;
        ```

-   `FFT(bufferSize, sampleRate)`: Fast Fourier Transform

    -   Usage:
        ```js
        var fft = new FFT(2048, 44100);
        fft.forward(signal);
        var spectrum = fft.spectrum;
        ```

-   `Oscillator(waveform, frequency, amplitude, bufferSize, sampleRate)`: Signal Generator

    -   Sine wave
    -   Square wave
    -   Saw wave
    -   Triangle wave
    -   Usage:
        ```js
        var osc = new Oscillator(SINEWAVE, 440, 1, 2048, 22050);
        osc.generate();
        var signal = osc.signal;
        ```

-   `ADSR(attack, decay, sustainLevel, sustain, release, sampleRate)`: Attack-Decay-Sustain-Release Envelope

    -   Usage:
        ```js
        var envelope = new ADSR(0.01, 0.1, 0.5, 0.1, 0.2, 44100);
        envelope.process(signal);
        ```

-   `IIRFilter(filter, cutoff, sampleRate)`: Infinite Impulse Response Filters

    -   Low Pass Filter
    -   High Pass Filter
    -   Usage:
        ```js
        var filter = IIRFilter(LOWPASS, 200, 44100);
        filter.process(signal);
        ```

-   `MultiDelay(maxDelayInSamplesSize, delayInSamples, masterVolume, delayVolume)`: Delay which feeds back its own delayed signal

    -   Usage:
        ```js
        var delay = MultiDelay(44100 * 5, 44100 * 1, 1.0, 0.6);
        delay.process(signal);
        ```

-   `Reverb(maxDelayInSamplesSize, delayInSamples, masterVolume, mixVolume, delayVolume, dampFrequency)`: Reverb
    -   Usage:
        ```js
        var reverb = Reverb(20000, 6500, 0.8, 0.5, 0.9, 4500);
        reverb.process(signal);
        ```
npm package: @rkesters/git-agent
Description: Synchronously get the current git commit hash, tag, or branch
Author: rkesters
Latest version: 1.0.2

# @rkesters/git-rev

![node version](https://img.shields.io/node/v/@rkesters/git-agent)
[![npm module](https://img.shields.io/npm/v/@rkesters/git-agent)](https://www.npmjs.com/package/@rkesters/git-agent)

Synchronously get the current git commit hash, tag, count, branch or commit message.


## usage

```typescript
import git from "@rkesters/git-agent";

// short commit-hash
console.log(git.commitHash(true)); // 75bf4ee

// long commit-hash
console.log(git.commitHash()); // 75bf4eea9aa1a7fd6505d0d0aa43105feafa92ef

// branch name
console.log(git.branchName()); // master
```

## installation

```bash
npm install --save-dev @rkesters/git-agent
```
npm package: @rkesters/mongodump-stream
Description: Various streaming utilities for dumping a mongo DB
Author: Robert Kesterson
Latest version: 3.0.1

# Mongo Dump Streaming Utilities
Utility to dump and restore collections of a mongo instance.


## Documentation

`import * as mds from '@rkesters/mongodump-stream`

### API

#### `mds.slurp.binary(uri, collection)`
Get a binary stream of your collection (mongodump).


#### `mds.slurp.text(uri, collection)`
Get a textual stream of your collection (mongoexport).


#### `mds.dump.s3(key, stream, awsConf)`
Write an object named `key` to an S3 bucket using the data in `stream`.
`awsConf` must contain the properties `key`, `secret`, and `bucket`.


#### `mds.dump.fs.file(stream, path)`
Dump stream into path.

#### `mds.fixture.saveFixture(  name: string, collections: string[], rootPath?: string):Promise<void>`
Will save the contents of the each of the collections in `collections`, in files named `<collection name>.json`. 
The fixture is saved in a directory with the name of `name`. If rootPath is defined then the fixture will be saved in that directory, 
if not it is saved in `__dirName/__mongo_fixtures__` of the calling file.

#### `mds.fixture.restoreFixture(  name: string, rootPath?: string):Promise<void>`
Will restore the collections stored in the test fixture.


### Example
```javascript
var mds = require('mongodump-stream');

var mongoUrl = 'mongodb://localhost:27017/YOUR-DB';
var mongoCollection = 'YOUR-COLLECTION';

var now = Date.now();

var fname = mongoCollection + '-' + now + '.bson';

var stream = mds.slurp.binary(mongoUrl, mongoCollection);

mds.dump.s3(fname, stream, {
  key: process.env.AWS_ACCESS,
  secret: process.env.AWS_SECRET,
  bucket: process.env.AWS_S3_BUCKET
}).then(/* YOUR CALLBACKS */);


//
// You could also write it to a file
//
mds.dump.fs.file(stream, fname);


```
npm package: @rkesters/path-loader
Description: Utility that provides a single API for loading the content of a path/URL.
Author: Robert Kesterson
Latest version: 2.0.2

# path-loader

Utility that provides a single API for loading the content of a path/URL.  This module works in the browser and in
io.js/Node.js.  Right now this module supports the following loaders:

* http/https: This loader is used by default in the browser and will also be used in io.js/Node.js if the location being
loaded starts with `http:` or `https:`
* file: This loader is the used by default in io.js/Node.js and will throw an error in the browser _(Due to how
locations are mapped to loaders, the only way to use the `file` loader in the browser is to attempt to load a file using
the URL-version of its location.  (Example: `file:///Users/not-you/projects/path-loader/package.json`))_

In the future, there will likely be a pluggable infrastructure for altering this list or overriding the loaders provided
by the project but for now that is not an option.

## Project Badges

* Build status: [![Build Status](https://travis-ci.org/whitlockjc/path-loader.svg)](https://travis-ci.org/whitlockjc/path-loader)
* Downloads: [![NPM Downloads Per Month](http://img.shields.io/npm/dm/path-loader.svg)](https://www.npmjs.org/package/path-loader)
* Gitter: [![Join the chat at https://gitter.im/whitlockjc/path-loader](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/whitlockjc/path-loader?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
* License: [![License](http://img.shields.io/npm/l/path-loader.svg)](https://github.com/whitlockjc/path-loader/blob/master/LICENSE)
* Version: [![NPM Version](http://img.shields.io/npm/v/path-loader.svg)](https://www.npmjs.org/package/path-loader)

## Installation

path-loader is available for both Node.js and the browser.  Installation instructions for each environment are below.

### Browser

path-loader binaries for the browser are available in the `dist/` directory:

* [path-loader.js](https://raw.github.com/whitlockjc/path-loader/master/dist/path-loader.js): _288kb_, full source  and source maps
* [path-loader-min.js](https://raw.github.com/whitlockjc/path-loader/master/dist/path-loader-min.js): _32kb_, minified, compressed and no sourcemap

### Node.js

Installation for Node.js applications can be done via [NPM][npm].

```
npm install path-loader --save
```

## Documentation

The documentation for this project can be found here: https://github.com/whitlockjc/path-loader/blob/master/docs/README.md

The path-loader project's API documentation can be found here: https://github.com/whitlockjc/path-loader/blob/master/docs/API.md

## Dependencies

Below is the list of projects being used by path-loader and the purpose(s) they are used for:

* [native-promise-only][native-promise-only]: Used to shim in [Promises][promises] support
* [superagent][superagent]: AJAX for the browser and Node.js

[native-promise-only]: https://www.npmjs.com/package/native-promise-only
[npm]: https://www.npmjs.org/
[promises]: https://www.promisejs.org/
[superagent]: https://github.com/visionmedia/superagent
npm package: @rkesters/sao-ts
Description: Scaffold out a Typescript project.
Author: rkesters
Latest version: 0.1.2

# sao-ts

> Scaffold out a Typescript project.

## Usage

Install [SAO](https://github.com/saojs/sao) first.

```bash
yarn global add sao
# or
npm i -g sao
```

### From npm

```bash
sao ts my-project
```

### From git

```bash
sao youngtailors/sao-ts my-project
```

## License

MIT &copy; [Evan N](https://procolla.com)
npm package: @rkh/reset
Description: Yet another CSS/Sass reset.
Latest version: 0.0.1

# Yet another CSS reset

CSS/Sass reset based on [scss-reset](https://github.com/frontend-layers/scss-reset). Some rules specifically targeting very old browsers have been removed.

The main difference to other resets is that it wraps all resets rules in a CSS layer. This way they do not take precedence over your own CSS layers.

## Installation

With NPM:

```console
$ npm install --save @rkh/reset
```

With Yarn:

```console
$ yarn add @rkh/reset
```

## Usage

### Sass/SCSS

```scss
@use '@rkh/reset';
```

You may have to change the path depending on your setup.

It is also possible to use the reset without CSS layers:

```scss
@use '@rkh/reset' with ($use-layers: false);
```

Or with a custom layer name:
  
```scss
@use '@rkh/reset' with ($layer-name: 'my-reset-layer');
```

### CSS
  
```css
@import '@rkh/reset';
```

You may have to change the path depending on your setup.
npm package: @rkingon/transunion-tuna-node
Description: Transunion TUNA API wrapper for Node.js, written in TypeScript.
Author: Roi Kingon
Latest version: 0.12.0

# Transunion TUNA

Transunion TUNA API wrapper for Node.js, written in TypeScript.

## Installation

**npm**

```bash
npm install @rkingon/transunion-tuna-node
```

**Yarn**

```bash
yarn add @rkingon/transunion-tuna-node
```

## Setup

```typescript
import { TransunionClient } from '@rkingon/transunion-tuna-node'

const client = new TransunionClient({
	system: {
		id: string,
		password: string
	},
	certificate: Buffer,
	modelReportSubscriber: {
		industryCode: string,
		memberCode: string,
		prefix: string,
		password: string
	},
	creditReportSubscriber: {
		industryCode: string,
		memberCode: string,
		prefix: string,
		password: string
	}
})
```

## Usage

Documentation can be found here: https://rkingon.github.io/transunion-tuna-node/