open-index/open-npm huggingface dataset:
npm package: @mutantbr/nlp-bagging
Description: Nodes Bagging for NLP Tools
Author: Caio Trindade
Latest version: 0.2.0

NLP Bagging
=========

Nodes Bagging for NLP Tools
![Bagging Architecture](bagging-architecture.png)


## Installation

  `npm i -S @mutantbr/nlp-bagging`

## Usage
  ```node
    let NlpBagging = require('@mutantbr/nlp-bagging');

    let thresholdConfig = {
      wordCount: 4,
      score: {
        lte: 0.6,
        gt: 0.4
      },
      returnValue: 'None'
    }

    // threshold is an optional param

    let bagging = new NlpBagging([{
      type: 'Luis',
      config: {
        url: 'https://brazilsouth.api.cognitive.microsoft.com/luis/v2.0/apps/aaa111',
        headers: {
          'subscription-key': '--------',
          verbose: true,
          timezoneOffset: 0
        }
      }
    },{
      type: 'Luis',
      config: {
        url: 'https://brazilsouth.api.cognitive.microsoft.com/luis/v2.0/apps/xxxaaa',
        headers: {
          'subscription-key': '--------',
          verbose: true,
          timezoneOffset: 0
        }
      }
    },{
      type: 'Luis',
      config: {
        url: 'https://brazilsouth.api.cognitive.microsoft.com/luis/v2.0/apps/abc123',
        headers: {
          'subscription-key': '---------',
          verbose: true,
          timezoneOffset: 0
        }
      }
    }],
    thresholdConfig);

    bagging
      .detectIntent('hi')
      .then(function(i) {
        console.log(i.topScoringIntent);
      });

    bagging
      .detectIntent('are you a bot')
      .then(function(i) {
        console.log(i.topScoringIntent);
      });
  ```

## Tests

  `npm test`

## Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

### Supporting others NLP tools

1) Create your file in folder `types`, following `luis.js` example.
2) Add your type to `types/type.js` mapper.
npm package: @mutants/cardano
Description: This library is an alternative to the cardano-serialization-lib and does not require your app to load WebAssembly code.
Latest version: 1.20.3

### Mutants Cardano BETA
This library is an alternative to the cardano-serialization-lib and does not require your app to load WebAssembly code.

### Sample transaction

In this transaction, the seller is sending a Mutant Croc NFT to our Marketplace validator, including a datum.

```
import {
  UTXOS,
  AssetUtils,
  RequiredInputs,
  RequiredOutputs,
  TransactionBuilder,
} from "@mutants/cardano";

// This is the asset the seller is going to send to our validator.
const mutantCrocAsset = {
    unit: "d517f38dd2c5acc3347c8e933e2c0185fafe3ba838f8830000a3c95f44724361726f6e6f566163696e75733030303030",
    quantity: "1" 
};

const estimateFee = 500000;
const sellerAddress = "addr1..." // Here you define the NFT seller payment address

// Here we calculate the min ADA required to be attached to the NFT
const minAdaUtxo = UTXOS.calculateMinMultiassetCost(
    AssetUtils.fromAssetsToPolicyMap([mutantCrocAsset])
);

// Here we define the seller required inputs. In order to send the NFT to the validator, we need to consume the NFT utxo,
// so we add the token, the min ADA that needs to be attached to it and an estimate fee (fee will be recalculated later)
const requiredInputs: RequiredInputs = {
    [sellerAddress]: {
        totalCoin: requiredUtxoADA + estimateFee,
        tokens: inputToken,
    },
};

// Here we define the required outputs. Since we want to send our NFT to our validator, we use the validator address here
// and determine that an output should be created with the Mutant NFT asset plus the minimum ADA required to be attached to that NFT.
// We also add the datum here, that will be used in our Plutus validator.
// In this case the datum has only 2 fields but ofc this would change depending in your validator script.
const datum = {
    constructor: 0,
    fields: [
      {
        bytes: seller,
      },
      {
        int: price,
      }
    ]
};

const requiredOutputs: RequiredOutputs = {
    [validator.address]: {
        totalCoin: minAdaUtxo,
        tokens: [mutantCrocAsset],
        datum,
    },
};
```
npm package: @mutantswap/sdk
Description: 🛠 An SDK for building applications on top of MutantSwap.
Latest version: 2.0.2

# MutantSwap SDK
This repo contains tools for developing with MutantSwap.

## Running
This project uses standard npm and yarn workflows.

Install dependencies

```sh
yarn
```

Compile
```sh
yarn build
```

Yarn is available to install [here](https://classic.yarnpkg.com/en/docs/install/#debian-stable) if you need it.

## Installation
This project is available as an npm package. Add to your project with `npm install @mutantswap/sdk`

## Attribution
This code was adapted from this Uniswap repo: [uniswap-sdk](https://github.com/Uniswap/sdk).
npm package: @mutantswap/sdk-mn
Description: 🛠 An SDK for building applications on top of MutantSwap.
Latest version: 2.0.0

# MutantSwap SDK
This repo contains tools for developing with MutantSwap.

## Running
This project uses standard npm and yarn workflows.

Install dependencies

```sh
yarn
```

Compile
```sh
yarn build
```

Yarn is available to install [here](https://classic.yarnpkg.com/en/docs/install/#debian-stable) if you need it.

## Installation
This project is available as an npm package. Add to your project with `npm install @mutantswap/sdk`

## Attribution
This code was adapted from this Uniswap repo: [uniswap-sdk](https://github.com/Uniswap/sdk).