open-index/open-npm huggingface dataset:
npm package: @minterjs/minterjs
Description: Minter Network API npm package for JavaScript Developers
Author: MINTERJS
Latest version: 0.0.1

# minterjs

Development in progress.

## Done

```js
const MinterJS = require('minterjs')({});

/** /address?address=_&height=_ */
MinterJS.address({address: 'Mx41b2cfc557dc4661a9526a5a3efcd2cc984339d1'});

/** /coin_info?symbol=_&height=_ */
MinterJS.coin_info({symbol: 'KARMA'});

/** /block?height=_ */
MinterJS.block({height: 1});

/** Peers from net_info */
MinterJS.peers();

```

## Contacts

- E-mail: minterjs@vvm.space
- Telegram: @minterjs (https://t.me/minterjs http://teleg.run/minterjs)
- Skype: @vvmspace

## Intersections

- Issue for arrays in GET queries: https://github.com/MinterTeam/minter-explorer-api/issues/56

## Donations

KARMA/BIP: Mx41b2cfc557dc4661a9526a5a3efcd2cc984339d1
npm package: @mintgate/bnc-onboard
Description: Onboard users to web3 by allowing them to select a wallet, get that wallet ready to transact and have access to synced wallet state.
Author: Aaron Barnard
Latest version: 1.38.0

# Onboard

JavaScript library to easily onboard users to ethereum apps by enabling wallet selection, connection, wallet checks and real time state updates.

## Install

`npm install bnc-onboard`

## Quick Start

```javascript
import Onboard from 'bnc-onboard'
import Web3 from 'web3'

// set a variable to store instantiated web3
let web3

// head to blocknative.com to create a key
const BLOCKNATIVE_KEY = 'blocknative-api-key'

// the network id that your dapp runs on
const NETWORK_ID = 1

// initialize onboard
const onboard = Onboard({
  dappId: BLOCKNATIVE_KEY,
  networkId: NETWORK_ID,
  subscriptions: {
    wallet: wallet => {
      // instantiate web3 when the user has selected a wallet
      web3 = new Web3(wallet.provider)
      console.log(`${wallet.name} connected!`)
    }
  }
})

// Prompt user to select a wallet
await onboard.walletSelect()

// Run wallet checks to make sure that user is ready to transact
await onboard.walletCheck()
```

## Documentation

For detailed documentation head to [docs.blocknative.com](https://docs.blocknative.com/onboard)
npm package: @mintgate/evm-chains
Description: Package to get chain data from ethereum-lists/chains
Author: Pedro Gomes
Latest version: 0.5.7

# evm-chains

Package to query chain data from [ethereum-lists/chains](https://github.com/ethereum-lists/chains)

## Install

```sh
npm install --save evm-chains

#or

yarn add evm-chains
```

## API

```typescript
function getAllChains(): IChainData[];
function getChain(chainId: number): IChainData;
function getChainByChainId(chainId: number): IChainData;
function getChainByKeyValue(key: string, value: any): IChainData;
function getChainByNetworkId(networkId: number): number;
function convertNetworkIdToChainId(networkId: number): number;
function convertChainIdToNetworkId(chainId: number): number;
```

## Types

```typescript
interface IChainData {
  name: string;
  chainId: number;
  shortName: string;
  chain: string;
  network: string;
  networkId: number;
  nativeCurrency: {
    name: string;
    symbol: string;
    decimals: number;
  };
  rpc: string[];
  faucets: string[];
  infoURL: string;
}
```

## Data Source

[https://github.com/ethereum-lists/chains](https://github.com/ethereum-lists/chains)
npm package: @mintgate/mintflowui
Description: mintflowui - CSS components for the crypto age
Author: Simon Weniger - MintKudos inc.
Latest version: 0.4.4

<div align="center">

# mintflowui  
A component library for the crypto creators age. Build beautiful user interfaces arround tokens, nfts and crypto economies.
Adds component classes like `btn`, `card` and more to Tailwind CSS

</div>

## Features   
- **Tailwind CSS plugin**  
  mintflowui is a Tailwind CSS plugin. Install it, add it to your `tailwind.config.js` file.
- **Component classes**  
  Adds component classes to Tailwind. Classes like `btn`, `card`,… So you will end up with a cleaner HTML.
- **Semantic color names**  
  Adds color names like `primary`, `secondary`, `accent`,….
- **Customizable**  
  You can customize the design of components with Tailwind utility classes and CSS variables.
- **Themeable**  
  Add multiple themes and customize colors. You can even set a theme for a specific section of your page.
- **RTL supported**  
  Enable `rtl` config for right to left layouts.
- **Pure CSS**  
  No script file, no dependencies. 2KB gzip!
- **Build for Dapps**  
  Comoponents designed for Web3 Applications (NFTs, Tokens, Wallets etc.)

---

## 👩‍💻 Install now!  

```bash
npm i @mintgate/mintflowui --save
```

or 

```bash
yarn add @mintgate/mintflowui
```

Then add mintflowui to your `tailwind.config.js`  
```js
module.exports = {

  plugins: [
    require('@mintgate/mintflowui'),
  ],

}
```

---
## 🎉 Use  
Use component classes like `btn`, `card`, etc… to add beautifull looking NFT and Token cards to your UI.  
```html
<a class="btn">Hello!</a>
```
```html
<div class="shadow card">
  <div class="card-body">
    <h2 class="card-title">Card Title</h2> 
    <p>Card text</p>
  </div>
</div> 
```
---
npm package: @mintgate/mintgate-js
Description: Token protect any content on any blockchain with the MintGate-JS developer library.
Latest version: 1.0.2

# mintgate-js

Token protect any content on any blockchain with the MintGate-JS developer library.

### Getting Started

```bash
yarn install @mintgate/mintgate-js

```

API:

```js
mintgate.embedVideo(linkID, domReference, provider);
```

Options:
- linkID: the ID of the link (exmaple: LkI0yVFuIW5n in https://mgate.io/go/LkI0yVFuIW5n)
- domReference: container to display the video
- provider (options): Wallet provider to use


React example:
```javascript
import {useRef, useEffect} from 'react';
import * as mintgate from '@mintgate/mintgate-js';

const linkID = 'LkI0yVFuIW5n'; // postfix of the link https://mgate.io/go/LkI0yVFuIW5n

function App() {
  const ref = useRef();
  useEffect(()=> {
    if(!ref) return;

    mintgate.embedVideo(linkID, ref.current)
      .then(x=>console.log('done'));
  }, [ref]);

  return (
    <div ref={ref}></div>
  );
}

export default App;

```
npm package: @mintjamsinc/vue-appbase
Description: A reusable AppBase component for Vue.js 2.x used by webtop applications.
Author: MintJams Inc.
Latest version: 1.1.1

<img src="https://www.mintjams.jp/img/cr.svg" alt ="" width="64">

# vue-appbase
A reusable AppBase component for Vue.js 2.x used by webtop applications.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-appbase
```

## Usage

```vue
<AppBase>
  <template v-slot:menubar>
    <!-- Defines the menu content that appears at the top of your application -->
  </template>
  <!-- Defines the primary content of your application -->
</AppBase>
```

```js
import AppBase from '@mintjamsinc/vue-appbase';

export default {
  components: {
    AppBase: AppBase,
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-avatar
Description: A reusable Avatar component for Vue.js 2.x used by webtop applications.
Author: MintJams Inc.
Latest version: 1.10.2

<img src="https://www.mintjams.jp/img/cr.svg" alt ="" width="64">

# vue-avatar
A reusable Avatar component for Vue.js 2.x used by webtop applications.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-avatar
```

## Usage

```vue
<Avatar :authorizable="authorizable"/>
```

```js
import Avatar from '@mintjamsinc/vue-avatar';

export default {
  components: {
    Avatar: Avatar,
  },
  computed: {
    authorizable() {
      return window.Webtop.userClient.newAuthorizable(this.$store.state.user);
    },
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-badge
Description: A reusable Badge component for Vue.js 2.x used by webtop applications.
Author: MintJams Inc.
Latest version: 1.10.1

<img src="https://www.mintjams.jp/img/cr.svg" alt ="" width="64">

# vue-badge
A reusable Badge component for Vue.js 2.x used by webtop applications.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-badge
```

## Usage

```vue
<Badge :authorizable="authorizable"/>
```

```js
import Badge from '@mintjamsinc/vue-badge';

export default {
  components: {
    Badge: Badge,
  },
  computed: {
    authorizable() {
      return window.Webtop.userClient.newAuthorizable(this.$store.state.user);
    },
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-colors
Description: A reusable Colors component for Vue.js 2.x used by webtop applications.
Author: MintJams Inc.
Latest version: 1.2.1

<img src="https://www.mintjams.jp/img/cr.svg" alt="Content Repository 6" width="64">

# vue-colors
A reusable Colors component for Vue.js 2.x used by webtop applications.

<img src="https://www.mintjams.jp/opensource/vue-colors/img/vue-coloes.png?r=1" alt="UI sample">

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-colors
```

## Usage

```vue
<Colors
  ref="colors"
  :multiple="true"
  v-hook="{inserted: onColorsLoad}"/>
```

```js
import Colors from '@mintjamsinc/vue-colors';

export default {
  components: {
    Colors,
  },
  methods: {
    onColorsLoad() {
      // let ui = vm.$refs.colors.ui;
      // ui.onChanged = function() {};
      // ui.colors = ...
      // ui.selection = ...
    },
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-facet-definition-selection
Description: A reusable FacetDefinitionSelection component for Vue.js 2.x used by webtop applications.
Author: MintJams Inc.
Latest version: 1.0.1

<img src="https://www.mintjams.jp/img/cr.svg" alt ="" width="64">

# vue-facet-definition-selection
A reusable FacetDefinitionSelection component for Vue.js 2.x used by webtop applications.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-facet-definition-selection
```

## Usage

```vue
<FacetDefinitionSelection
  ref="propertySelection"
  :excludes="propertyKeys"
  class="bg-white"
  v-hook="{inserted: onPropertySelectionLoad}"/>
```

```js
import FacetDefinitionSelection from '@mintjamsinc/vue-facet-definition-selection';

export default {
  components: {
    FacetDefinitionSelection,
  },
  methods: {
    onPropertySelectionLoad() {
      // let ui = vm.$refs.propertySelection.ui;
      // ui.onChanged = function() {};
    },
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-filterable-selection
Description: A reusable FilterableSelection component for Vue.js 2.x used by webtop applications.
Author: MintJams Inc.
Latest version: 1.7.2

<img src="https://www.mintjams.jp/img/cr.svg" alt ="" width="64">

# vue-filterable-selection
A reusable FilterableSelection component for Vue.js 2.x used by webtop applications.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-filterable-selection
```

## Usage

```vue
<FilterableSelection
  ref="groups"
  :multiple="true"
  :hasSearch="true"
  maxLabelWidth="10em"
  :class="{'invalid': isDirty && $validator.hasErrors('editor', 'groups')}"
  v-hook="{inserted: onGroupsLoad}"/>
```

```js
import FilterableSelection from '@mintjamsinc/vue-filterable-selection';

export default {
  components: {
    FilterableSelection,
  },
  methods: {
    onGroupsLoad() {
      // let ui = vm.$refs.groups.ui;
      // ui.getIdentifier = function(o) {};
      // ui.getAuthorizable = function(o) {};
      // ui.getItem = function(o) {};
      // ui.getIcon = function(o) {};
      // ui.getLabel = function(o) {};
      // ui.comparator = function(a, b) {};
      // ui.isMatched = function(o) {};
      // ui.onChanged = function() {};
      // ui.onSearch = function() {};
      // ui.objects = ...
      // ui.selection = ...
      // ui.filterText = '';
      // ui.expanded = true;
    },
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-focus
Description: A reusable focus directive for Vue.js 2.x.
Author: MintJams Inc.
Latest version: 1.1.0

# vue-focus
A reusable focus directive for Vue.js 2.x.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-focus
```

## Usage

```js
import VueFocus from '@mintjamsinc/vue-focus';
Vue.use(VueFocus);
```

```vue
<input type="text" name="id" v-model="id" v-focus.delay="200">
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-hook
Description: A reusable hook directive for Vue.js 2.x.
Author: MintJams Inc.
Latest version: 1.1.0

# vue-hook
A reusable hook directive for [Vue.js](https://github.com/vuejs/vue) 2.x.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-hook
```

## Usage

```js
import VueHook from '@mintjamsinc/vue-hook';
Vue.use(VueHook);
```

```vue
<div v-hook="{bind: onBind, inserted: onInserted, update: onUpdate, componentUpdated: onComponentUpdated, unbind: onUnbind}">
</div>
```

```js
export default {
  methods: {
    onBind() {},
    onInserted() {},
    onUpdate() {},
    onComponentUpdated() {},
    onUnbind() {},
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-lazy
Description: A reusable lazy directive for Vue.js 2.x.
Author: MintJams Inc.
Latest version: 1.2.2

# vue-lazy
A reusable lazy directive for [Vue.js](https://github.com/vuejs/vue) 2.x.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-lazy
```

## Usage

```js
import VueLazy from '@mintjamsinc/vue-lazy';
Vue.use(VueLazy);
```

```vue
<img v-lazy:src="image.jpg">

<div v-lazy:background-image="image.jpg"></div>
```

If you want to register a directive locally:

```js
import {lazy} from '@mintjamsinc/vue-lazy';
export default {
  directives: {
    lazy,
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-resizeobserver
Description: A reusable resizeobserver directive for Vue.js 2.x.
Author: MintJams Inc.
Latest version: 1.0.0

# vue-resizeobserver
A reusable resizeobserver directive for Vue.js 2.x.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-resizeobserver
```

## Usage

```js
import VueResizeObserver from '@mintjamsinc/vue-resizeobserver';
Vue.use(VueResizeObserver);
```

```vue
<div key="list-container" v-resizeobserver="onListContainerResized">
</div>
```

```js
export default {
  methods: {
    onListContainerResized() {
    },
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-selection
Description: A reusable Selection component for Vue.js 2.x used by webtop applications.
Author: MintJams Inc.
Latest version: 1.4.1

<img src="https://www.mintjams.jp/img/cr.svg" alt ="" width="64">

# vue-selection
A reusable Selection component for Vue.js 2.x used by webtop applications.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-selection
```

## Usage

```vue
<Selection
  ref="tags"
  :multiple="true"
  maxLabelWidth="10em"
  v-hook="{inserted: onTagsLoad}"/>
```

```js
import Selection from '@mintjamsinc/vue-selection';

export default {
  components: {
    Selection,
  },
  methods: {
    onTagsLoad() {
      // let ui = vm.$refs.tags.ui;
      // ui.getIdentifier = function(o) {};
      // ui.getAuthorizable = function(o) {};
      // ui.getItem = function(o) {};
      // ui.getIcon = function(o) {};
      // ui.getLabel = function(o) {};
      // ui.comparator = function(a, b) {};
      // ui.onChanged = function() {};
      // ui.objects = ...
      // ui.selection = ...
    },
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-split
Description: A reusable Split component for Vue.js 2.x used by webtop applications.
Author: MintJams Inc.
Latest version: 1.0.1

<img src="https://www.mintjams.jp/img/cr.svg" alt ="" width="64">

# vue-split
A reusable Split component for Vue.js 2.x used by webtop applications.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-split
```

## Usage

```vue
<Split :onResize="onResize" min="20%" :initial="splitPercent" :show="[showFilter, true]">
  <template v-slot:pane1>
    <!-- Defines the pane1 content of your application -->
  </template>
  <template v-slot:pane2>
    <!-- Defines the pane2 content of your application -->
  </template>
</Split>
```

```js
import Split from '@mintjamsinc/vue-split';

export default {
  components: {
    Split: Split,
  },
  data() {
    return {
      splitPercent: '28%',
      showFilter: true,
    };
  },
  methods: {
    onResize(percent) {
      window.Webtop.local.set('splitPercent', percent + '%');
    },
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/vue-validator
Description: A reusable validator directive for Vue.js 2.x.
Author: MintJams Inc.
Latest version: 1.3.0

# vue-validator
A reusable validator directive for Vue.js 2.x.

## Installation

```sh
npm install --save-dev @mintjamsinc/vue-validator
```

## Usage

```js
import VueValidator from '@mintjamsinc/vue-validator';
Vue.use(VueValidator);
```

```vue
<input type="text" :class="{'invalid': ($validator.errors('form1', 'propertyKey').length > 0)}" name="propertyKey" v-model="propertyKey" v-validator>
<div v-for="message in $validator.errors('form1', 'propertyKey')" :key="message">{{message}}</div>
```

```js
export default {
  data() {
    let vm = this;
    return {
      'propertyKey': '',
      'numLines': 5,
      'items': [],
      'validator': {
        'forms': {
          'form1': {
            'propertyKey': {
              'rules': 'required,contains',
              'contains': vm.validateContains
            },
            'numLines': {
              'rules': 'number',
              'number': {
                'min': 1,
                'max': 9,
              },
            },
          },
        },
      },
    };
  },
  methods: {
    clear() {
      // Configure programmatically
      vm.validator.forms['form1'] = {
        'minLength': {
          'rules': 'number,equalsOrLess',
          'number': {'min': 1},
          'equalsOrLess': vm.validateLengthEqualsOrLess
        },
        'maxLength': {
          'rules': 'number,equalsOrMore',
          'references': 'minLength',
          'number': {'min': 1},
          'equalsOrMore': vm.validateLengthEqualsOrMore
        },
      };
    },

    /*
     * Custom validators
     */
    validateContains(ev) {
      let vm = ev.validator.vm;
      let result = {
        'valid': true,
        'errors': []
      };

      let value = ev.value;
      if (ev.cond.trim === undefined || ev.cond.trim === true) {
        try {
          value = value.trim();
        } catch (e) {
          value = "";
        }
      }

      if (!value) {
        return result;
      }

      for (let item of vm.items) {
        if (item.key == value) {
          result.valid = false;
          result.errors.push('A property with the same name already exists.');
          break;
        }
      }

      return result;
    },
    validateLengthEqualsOrLess(ev) {
      // validation
    },
    validateLengthEqualsOrMore(ev) {
      // validation
    },
  },
}
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/webtop-app-commons
Description: A common library used by webtop applications.
Author: MintJams Inc.
Latest version: 1.16.0

<img src="https://www.mintjams.jp/img/cr.svg" alt ="" width="64">

# Webtop App Commons
A common library used by webtop applications.

## Installation

```sh
npm install --save-dev @mintjamsinc/webtop-app-commons
```

## Usage

```js
import commons from '@mintjamsinc/webtop-app-commons';
const {
  Base32,
  Base64,
  CSV,
  Dates,
  Facets,
  Files,
  ISO4217,
  MimeType,
  Numbers,
  Objects,
  QRCode,
  Sizes,
  Storages,
  Strings,
  Web,
  YAML} = commons;
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintjamsinc/webtop-app-theme
Description: Styles and Themes for Webtop applications.
Author: MintJams Inc.
Latest version: 1.10.0

<img src="https://www.mintjams.jp/img/cr.svg" alt ="" width="64">

# Webtop App Theme
Styles and Themes for Webtop applications.

## Installation

```sh
npm install --save-dev @mintjamsinc/webtop-app-theme
```

## Usage

```vue
<style lang="scss">
@import "@mintjamsinc/webtop-app-theme/css/style.scss";
</style>
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021 MintJams Inc.
npm package: @mintkit/mintkit-minter
Description: A React component to mint NFTs.
Author: 0xDarni
Latest version: 0.1.4

# MintKit Minter

A React component to mint NFTs.

Alpha version, still in development, most likely buggy.

Part of [MintKit](https://mintkit.io), a project by [Vector37 DAO](https://vector37.com)

*Do not use in production yet*

Documentation coming soon.

At the moment it has a hard requirement on Tailwind
npm package: @mintlayer/entropy-generator
Description: An entropy generator based on first durstenfeld variant of fisher-yates.
Latest version: 1.0.6

# Entropy generator
An entropy generator based on first durstenfeld variant of fisher-yates.


## Versions
This is the dev branch.

Latest packages can be find on [npm](https://www.npmjs.com/package/@mintlayer/entropy-generator) or [releases](https://github.com/mintlayer/entropy-generator/releases).

Latest public package source code can be found here: [v1.0.4](https://github.com/mintlayer/entropy-generator/tree/v1.0.4)


![branch status](https://github.com/mintlayer/entropy-generator/actions/workflows/node.js.yml/badge.svg)


## Install
```js
npm i @mintlayer/entropy-generator
```

## Environment support
This lib can be used on the browser or Node environment. The `Buffer` object and `Random` function will adapt accordingly.

## Usage

### generateEntropy
Call the function `generateEntropy` with a normalized array of integers as parameter.
The second parameter(optional) is the size of the output. If set, it has to be smaller or the same size as the input. 
A [Buffer](https://nodejs.org/api/buffer.html) object will be returned.


By "normalized" it means all values should be between 0-255. You can normalize you array by yourself or [the normalizer function](https://github.com/mintlayer/entropy-generator#normalize) exported also by this library.

#### Example 1:
```js
import { generateEntropy } from 'entropy-generator'

const initialArray = [ 1, 170, 55, 80, 190 ]
const entropy = generateEntropy(initialArray)
// entropy size: 5
```

#### Example 2:
```js
import { generateEntropy } from 'entropy-generator'

const initialArray = [ 1, 170, 55, 80, 190 ]
const entropy = generateEntropy(initialArray, 3)
// entropy size: 3
```


### normalize
Call the function `normalize` an array of integers as parameter.
Another array will be returned with all values between 0-255.

#### Example:
```js
import { normalize } from 'entropy-generator'

const initialArray = [-2000, -15000, 300, 400, 1500]
normalize(initialArray)
// returns: Uint8Array(5) [ 201, 0, 236, 238, 255 ]
```

## Development

### Install deps
```js
npm i
```

### Build
```js
npm run build
```

### Run tests

#### Run once
```js
npm test
```

#### Watch
```js
npm run test:watch
```

#### Coverage
```js
npm run test:coverage
```

#### Lint
```js
npm run lint
```

## How to Contribute

[Check here](./CONTRIBUTING.md) to see what you should do, and the rules you should follow, to contribute to this project.
npm package: @mintlify/components
Description: Mintlify open-source UI components
Author: Mintlify, Inc.
Latest version: 1.0.15

# @mintlify/components

Mintlify's Open Source UI components package.

## Requirements

- Node.js >= 20.0.0
- React ^18.0.0 || ^19.0.0
- React DOM ^18.0.0 || ^19.0.0

## Installation

```bash
pnpm add @mintlify/components
```

## Development

### Setup

```bash
pnpm install
```

### Build

```bash
pnpm build
```

### Storybook

Storybook uses Tailwind CSS and PostCSS to build the stories. Start the Storybook development server:

```bash
pnpm storybook
```

## License

MIT
npm package: @mintlify/eslint-config
Description: Mintlify shared eslint config (base)
Author: Mintlify, Inc.
Latest version: 1.0.6

# Shared ESLint configuration (base)

[ESLint](https://eslint.org/) is used for code linting.

The inheritance hierarchy looks like this:
```
eslint-config (base)
         ^
eslint-config-typescript
         ^
eslint-config-next
```

To use [`eslint-config-typescript`](../eslint-config-typescript/README.md) or [`eslint-config-next`](../eslint-config-typescript/README.md), visit their respective documentation.

## Add Dependencies
Install this package and peerDependencies of this package as devDependencies in the project, using [install-peerdeps](https://github.com/nathanhleung/install-peerdeps).

```sh
npx install-peerdeps --dev @mintlify/eslint-config
```

Alternatively, you can install this package as devDependency and install the peerDependencies separately.
```sh
# yarn
yarn add -D @mintlify/eslint-config

# npm
npm i -D @mintlify/eslint-config

# pnpm
pnpm add -D @mintlify/eslint-config
```

## Add Configuration File
Create a `.eslintrc.json` file in the project root that extends this package.

```
{
    "extends": "@mintlify/eslint-config",
    ...
}
```
npm package: @mintlify/eslint-config-next
Description: Mintlify shared eslint config (next)
Author: Mintlify, Inc.
Latest version: 1.0.18

# Shared ESLint configuration (next)

[ESLint](https://eslint.org/) is used for code linting.

## Add Dependencies
Install this package and peerDependencies of this package as devDependencies in the project, using [install-peerdeps](https://github.com/nathanhleung/install-peerdeps).

```sh
npx install-peerdeps --dev @mintlify/eslint-config-next
```

Alternatively, you can install this package as devDependency and install the peerDependencies separately.
```sh
# yarn
yarn add -D @mintlify/eslint-config-next

# npm
npm i -D @mintlify/eslint-config-next

# pnpm
pnpm add -D @mintlify/eslint-config-next
```

## Add Configuration File
Create a `.eslintrc.json` file in the project root that extends this package.

```
{
    "extends": "@mintlify/eslint-config-next",
    ...
}
```
npm package: @mintlify/eslint-config-typescript
Description: Mintlify shared eslint config (typescript)
Author: Mintlify, Inc.
Latest version: 1.0.13

# Shared ESLint configuration (typescript)

[ESLint](https://eslint.org/) is used for code linting.

## Add Dependencies
Install this package and peerDependencies of this package as devDependencies in the project, using [install-peerdeps](https://github.com/nathanhleung/install-peerdeps).

```sh
npx install-peerdeps --dev @mintlify/eslint-config-typescript
```

Alternatively, you can install this package as devDependency and install the peerDependencies separately.
```sh
# yarn
yarn add -D @mintlify/eslint-config-typescript

# npm
npm i -D @mintlify/eslint-config-typescript

# pnpm
pnpm add -D @mintlify/eslint-config-typescript
```

## Add Configuration File
Create a `.eslintrc.json` file in the project root that extends this package.

```
{
    "extends": "@mintlify/eslint-config-typescript",
    ...
}
```
npm package: @mintlify/eslint-config-typescript-react
Description: Mintlify shared eslint config (typescript + react)
Author: Mintlify, Inc.
Latest version: 1.0.2

# Shared ESLint configuration (typescript + react)

[ESLint](https://eslint.org/) is used for code linting.

## Add Dependencies
Install this package and peerDependencies of this package as devDependencies in the project, using [install-peerdeps](https://github.com/nathanhleung/install-peerdeps).

```sh
npx install-peerdeps --dev @mintlify/eslint-config-typescript-react
```

Alternatively, you can install this package as devDependency and install the peerDependencies separately.
```sh
# yarn
yarn add -D @mintlify/eslint-config-typescript-react

# npm
npm i -D @mintlify/eslint-config-typescript-react

# pnpm
pnpm add -D @mintlify/eslint-config-typescript-react
```

## Add Configuration File
Create a `.eslintrc.json` file in the project root that extends this package.

```
{
    "extends": "@mintlify/eslint-config-typescript-react",
    ...
}
```
npm package: @mintlify/openapi-types
Description: Modern OpenAPI types
Author: Scalar
Latest version: 0.0.0

# Scalar OpenAPI Types

[![CI](https://github.com/scalar/scalar/actions/workflows/ci.yml/badge.svg)](https://github.com/scalar/scalar/actions/workflows/ci.yml)
[![Contributors](https://img.shields.io/github/contributors/scalar/scalar)](https://github.com/scalar/scalar/graphs/contributors)
[![GitHub License](https://img.shields.io/github/license/scalar/scalar)](https://github.com/scalar/scalar/blob/main/LICENSE)
[![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.gg/scalar)

Modern OpenAPI parser written in TypeScript, with support for Swagger 2.0, OpenAPI 3.0 and OpenAPI 3.1

## Installation

```bash
npm add @mintlify/openapi-types
```

## Usage

```ts
import type { OpenAPI } from '@mintlify/openapi-types'

const file: OpenAPI.Document = {
  openapi: '3.1.0',
  info: {
    title: 'Hello World',
    version: '1.0.0',
  },
  paths: {},
}
```

## Community

We are API nerds. You too? Let’s chat on Discord: <https://discord.gg/scalar>

## License

The source code in this repository is licensed under [MIT](https://github.com/scalar/scalar/blob/main/LICENSE).
npm package: @mintlify/oxfmt-config
Description: Mintlify's Oxfmt configuration
Latest version: 1.0.0

# @mintlify/oxfmt-config

Mintlify's Oxfmt configuration, ported from the existing Prettier configuration.

## Installation

```bash
npm install --save-dev @mintlify/oxfmt-config
```

## Usage

Create an `oxfmtrc.json` in your project root:

```json
{
  "extends": "@mintlify/oxfmt-config"
}
```

Or reference the config directly when running oxfmt:

```bash
oxfmt -c node_modules/@mintlify/oxfmt-config/oxfmtrc.json
```

## Settings

This configuration matches the Prettier settings:
- 2 space indentation
- 100 character line width
- Single quotes
- ES5 trailing commas
- Arrow function parens always
- Bracket spacing enabled
- Import sorting enabled with groups for `@mintlify`, other third-party (`@?\\w`), `@/` aliases, then relative paths (mirrors `@trivago/prettier-plugin-sort-imports`)

> Tailwind class sorting from `prettier-plugin-tailwindcss` is not available in Oxfmt yet; if it ships in Oxfmt we can add it here for full parity.
npm package: @mintlify/oxlint-config
Description: Mintlify's Oxlint configuration
Latest version: 1.0.2

# @mintlify/oxlint-config

Mintlify's Oxlint configuration, ported from the existing ESLint configurations.

## Installation

```bash
npm install --save-dev @mintlify/oxlint-config
```

## Usage

For a TypeScript project, create an `oxlintrc.json` in your project root:

```json
{
  "extends": "@mintlify/oxlint-config"
}
```

For Next.js projects, extend the Next-specific config:

```json
{
  "extends": "@mintlify/oxlint-config/next"
}
```

Or reference the config directly when running oxlint:

```bash
oxlint -c node_modules/@mintlify/oxlint-config/oxlintrc.json
```

## Rules Included

- `oxlintrc.json` matches the shared TypeScript lint rules from `@mintlify/eslint-config-typescript`, including the TypeScript and Import plugins.
- `next.json` builds on the TypeScript config to add React, JSX A11y, and Next.js plugin support, mirroring `@mintlify/eslint-config-next`.
npm package: @mintlify/prettier-config
Description: Mintlify shared prettier config
Author: Mintlify, Inc.
Latest version: 1.0.6

# Shared Prettier configuration

[Prettier](https://prettier.io/) is used for code formatting.

## Add Dependencies
Install this package and peerDependencies of this package as devDependencies in the project, using [install-peerdeps](https://github.com/nathanhleung/install-peerdeps).

```sh
npx install-peerdeps --dev @mintlify/prettier-config
```

Alternatively, you can install this package as devDependency and install the peerDependencies separately.
```sh
# yarn
yarn add -D @mintlify/prettier-config

# npm
npm i -D @mintlify/prettier-config

# pnpm
pnpm add -D @mintlify/prettier-config
```

## Add Configuration File
Create a `.prettierrc` file in the project root with the following content:

```sh
"@mintlify/prettier-config/config.js"
```

## Add Formatting Scripts
Add the following `package.json` scripts (with the appropriate file extensions for the project):

```json
"scripts": {
    "format": "prettier \"**/*.{css,js,ts,tsx,md,mdx}\" --write",
    "format:check": "prettier \"**/*.{css,js,ts,tsx,md,mdx}\" --check",
    ...
}
```
npm package: @mintlify/search-sdk
Description: TypeScript SDK for Mintlify Search
Latest version: 0.0.125

A Typescript based SDK that allows you to communicate with the Trieve API

## How to use

Install using your favorite package manager:

```
yarn add trieve-ts-sdk
# or
npm install trieve-ts-sdk
# or
pnpm install trieve-ts-sdk
```

After installing the first step is to instantiate a new `TrieveSDK` like so:

```ts
import { TrieveSDK } from "trieve-ts-sdk";

export const trieve = new TrieveSDK({
  apiKey: "<your-api-key>",
  datasetId: "<dataset-to-use>",
});
```

With this done you can use any of the functions available to use trieve in your project and get searching:

```ts
import { trieve } from "../trieve";

const data = await trieve.search({
  query: "my first query",
  search_type: "hybrid",
});
```

To see all the functions we export you can take a look at [our docs](https://ts-sdk.trieve.ai).

## License

MIT
npm package: @mintlify/ts-config
Description: Mintlify shared ts config
Author: Mintlify, Inc.
Latest version: 2.0.2

# Shared TS configuration

A [TS Config file](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) is used to specify how a TypeScript project should be compiled.

## Add Dependencies
Install this package and peerDependencies of this package as devDependencies in the project, using [install-peerdeps](https://github.com/nathanhleung/install-peerdeps).

```sh
npx install-peerdeps --dev @mintlify/ts-config
```

Alternatively, you can install this package as devDependency and install the peerDependencies separately.
```sh
# yarn
yarn add -D @mintlify/ts-config

# npm
npm i -D @mintlify/ts-config

# pnpm
pnpm add -D @mintlify/ts-config
```

## Add Configuration File
In the project's `tsconfig.json` file, extend this configuration:

```json
{
  "extends": "@mintlify/ts-config",
  "compilerOptions": {
    ...
  },
  ...
}
```
npm package: @mintline/mcp
Description: MCP server for Mintline - connect AI assistants to your receipts and transactions
Author: Mintline
Latest version: 1.1.9

# Mintline MCP Server

Connect AI assistants to your Mintline receipts and transactions via the [Model Context Protocol](https://modelcontextprotocol.io).

[![MCP Registry](https://img.shields.io/badge/MCP-Registry-blue)](https://registry.modelcontextprotocol.io/servers/io.github.mintlineai/mintline-mcp)
[![mcp.so](https://img.shields.io/badge/mcp.so-Listed-green)](https://mcp.so/server/mintline-mcp)
[![npm](https://img.shields.io/npm/v/@mintline/mcp)](https://www.npmjs.com/package/@mintline/mcp)

## Installation

```bash
npm install -g @mintline/mcp
```

## Setup

### 1. Get your API key

Create an API key at [mintline.ai/app/settings/api-keys](https://mintline.ai/app/settings/api-keys)

### 2. Configure Claude Desktop

Add to your `~/.claude/claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "mintline": {
      "command": "mintline-mcp",
      "env": {
        "MINTLINE_API_KEY": "ml_live_your_api_key_here"
      }
    }
  }
}
```

### 3. Restart Claude Desktop

The Mintline tools will now be available.

## Available Tools

Tools are loaded dynamically from the Mintline API and stay automatically in sync.

**View all available tools:**
- Documentation: [mintline.ai/docs/mcp](https://mintline.ai/docs/mcp)
- CLI: `npx @mintline/mcp --list-tools`

## Example Prompts

### Receipts & Transactions
- "Show me my unmatched receipts"
- "Find receipts from Amazon"
- "List transactions from my Chase statement"
- "Show details for receipt rcpt_01abc123"

### Matching
- "What matches need my review?"
- "Confirm the top match"
- "Reject match mtch_01xyz789 - wrong vendor"

### Analytics
- "How much did I spend this month?"
- "What are my top vendors by spending?"
- "Show me spending trends for the last 6 months"
- "Break down my spending by week"
- "How much did I spend at AWS last quarter?"
- "What needs my attention?" (shows unmatched items)
- "Do I have any large transactions without receipts?"

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `MINTLINE_API_KEY` | Yes | Your Mintline API key |
| `MINTLINE_API_URL` | No | API URL (default: https://api.mintline.ai) |

## Development

```bash
git clone https://github.com/mintlineai/mintline-mcp.git
cd mintline-mcp
npm install

# Run locally
MINTLINE_API_KEY=ml_live_... node src/index.js
```

## License

MIT
npm package: @mintmaker/osv-offline
Description: [![Package version](https://img.shields.io/npm/v/@mintmaker/osv-offline?style=for-the-badge)](https://www.npmjs.com/package/@mintmaker/osv-offline) [![Build status](https://img.shields.io/github/actions/workflow/status/mintmaker/osv-offline/build.yml?bran
Latest version: 1.1.1

# osv-offline

[![Package version](https://img.shields.io/npm/v/@mintmaker/osv-offline?style=for-the-badge)](https://www.npmjs.com/package/@mintmaker/osv-offline)
[![Build status](https://img.shields.io/github/actions/workflow/status/mintmaker/osv-offline/build.yml?branch=main&style=for-the-badge)](https://github.com/mintmaker/osv-offline/actions/workflows/build.yml)
[![MIT license](https://img.shields.io/badge/license-MIT-blue?style=for-the-badge)](./LICENSE)

## License

This package is licensed under [the MIT license](https://opensource.org/licenses/MIT).

Vulnerabilities are provided from the following upstream data sources and licenses:

- [GitHub Advisory Database](https://github.com/github/advisory-database) ([CC-BY 4.0](https://github.com/github/advisory-database/blob/main/LICENSE.md))
- [PyPI Advisory Database](https://github.com/pypa/advisory-database) ([CC-BY 4.0](https://github.com/pypa/advisory-database/blob/main/LICENSE))
- [Go Vulnerability Database](https://github.com/golang/vulndb) ([CC-BY 4.0](https://github.com/golang/vulndb#license))
- [Rust Advisory Database](https://github.com/RustSec/advisory-db) ([CC0 1.0](https://github.com/rustsec/advisory-db/blob/main/LICENSE.txt))
- [Global Security Database](https://github.com/cloudsecurityalliance/gsd-database) ([CC0 1.0](https://github.com/cloudsecurityalliance/gsd-database/blob/main/LICENSE))
- [OSS-Fuzz](https://github.com/google/oss-fuzz-vulns) ([CC-BY 4.0](https://github.com/google/oss-fuzz-vulns/blob/main/LICENSE))
npm package: @mintmaker/osv-offline-db
Description: [![Package version](https://img.shields.io/npm/v/@mintmaker/osv-offline-db?style=for-the-badge)](https://www.npmjs.com/package/@mintmaker/osv-offline-db) [![Build status](https://img.shields.io/github/actions/workflow/status/mintmaker/osv-offline/build.ym
Latest version: 1.2.0

# osv-offline-db

[![Package version](https://img.shields.io/npm/v/@mintmaker/osv-offline-db?style=for-the-badge)](https://www.npmjs.com/package/@mintmaker/osv-offline-db)
[![Build status](https://img.shields.io/github/actions/workflow/status/mintmaker/osv-offline/build.yml?branch=main&style=for-the-badge)](https://github.com/mintmaker/osv-offline/actions/workflows/build.yml)
[![MIT license](https://img.shields.io/badge/license-MIT-blue?style=for-the-badge)](./LICENSE)

## License

This package is licensed under [the MIT license](https://opensource.org/licenses/MIT).

Vulnerabilities are provided from the following upstream data sources and licenses:

- [GitHub Advisory Database](https://github.com/github/advisory-database) ([CC-BY 4.0](https://github.com/github/advisory-database/blob/main/LICENSE.md))
- [PyPI Advisory Database](https://github.com/pypa/advisory-database) ([CC-BY 4.0](https://github.com/pypa/advisory-database/blob/main/LICENSE))
- [Go Vulnerability Database](https://github.com/golang/vulndb) ([CC-BY 4.0](https://github.com/golang/vulndb#license))
- [Rust Advisory Database](https://github.com/RustSec/advisory-db) ([CC0 1.0](https://github.com/rustsec/advisory-db/blob/main/LICENSE.txt))
- [Global Security Database](https://github.com/cloudsecurityalliance/gsd-database) ([CC0 1.0](https://github.com/cloudsecurityalliance/gsd-database/blob/main/LICENSE))
- [OSS-Fuzz](https://github.com/google/oss-fuzz-vulns) ([CC-BY 4.0](https://github.com/google/oss-fuzz-vulns/blob/main/LICENSE))
npm package: @mintmcp/claude-agent-hook
Description: MintMCP hook integration for Claude Agent SDK
Latest version: 0.0.2

# @mintmcp/claude-agent-hook

MintMCP hook integration for the Claude Agent SDK. Forwards agent hook events to MintMCP for logging, rule enforcement, and alerting.

## Installation

```bash
npm install @mintmcp/claude-agent-hook
```

## Usage

Get your organization key from the MintMCP dashboard at
https://app.mintmcp.com/monitor/setup

### Complete hooks config

Use `createMintMCPHooks` when MintMCP is the only hook provider:

```typescript
import { query } from "@anthropic-ai/claude-agent-sdk";
import { createMintMCPHooks } from "@mintmcp/claude-agent-hook";

const result = await query({
  prompt: "...",
  options: {
    hooks: createMintMCPHooks({
      orgKey: "your-org-key",
    }),
  },
});
```

### Composing with other hooks

Use `createMintMCPHook` to get a single hook callback that can be composed with other hooks:

```typescript
import { query } from "@anthropic-ai/claude-agent-sdk";
import { createMintMCPHook } from "@mintmcp/claude-agent-hook";

const mintMCPHook = createMintMCPHook({
  orgKey: "your-org-key",
});

const result = await query({
  prompt: "...",
  options: {
    hooks: {
      PreToolUse: [{ hooks: [mintMCPHook, someOtherHook] }],
      PostToolUse: [{ hooks: [mintMCPHook] }],
      UserPromptSubmit: [{ hooks: [mintMCPHook] }],
    },
  },
});
```

## API

### `createMintMCPHooks(options)`

Returns a complete hooks configuration object for use with the Claude Agent SDK.

### `createMintMCPHook(options)`

Returns a single `HookCallback` function for composing with other hooks.

### Options

| Option | Type | Required | Description |
|--------|------|----------|-------------|
| `orgKey` | `string` | Yes | Your MintMCP organization key |
| `user` | `string` | No | Username shown in logs (defaults to `$USER`) |

## Supported Hook Events

- `PreToolUse` - Called before tool execution
- `PostToolUse` - Called after tool execution
- `UserPromptSubmit` - Called when a user prompt is submitted

## Links

- [MintMCP Dashboard](https://app.mintmcp.com)
- [Claude Agent SDK Documentation](https://docs.anthropic.com/en/docs/claude-code/sdk)