open-index/open-npm huggingface dataset:
npm package: @leo91000/subset-sum
Description: Fast Node.js subset sum implementation
Author: Léo Coletta
Latest version: 1.2.0

# ⚡ Subset Sum ⚡

Subset sum algorithm, but very fast 🦀 (written in rust).

## Installation

You have two options for subset-sum :
- Node bindings
- WASM

If you want to use this library in the browser, you must pick WASM.
Otherwise, I recommend the node bindings one, because it is slightly faster.

### Node bindings

```bash
npm i @leo91000/subset-sum
# or
yarn add @leo91000/subset-sum
# or
pnpm add @leo91000/subset-sum
```

### WASM

```bash
npm i @leo91000/wasm-subset-sum
# or
yarn add @leo91000/wasm-subset-sum
# or
pnpm add @leo91000/wasm-subset-sum
```

## Usage

```ts
import { getSubsetSum } from '@leo91000/subset-sum' // or @leo91000/wasm-subset-sum

const results = getSubsetSum(
    [5, -7, 3, 11], // List to get the subset sum from
    8, // Target sum
    1000, // Timeout in ms
)
```
npm package: @leo91000/subset-sum-linux-arm-gnueabihf
Description: Fast Node.js subset sum implementation
Author: Léo Coletta
Latest version: 1.2.0

# `@leo91000/subset-sum-linux-arm-gnueabihf`

This is the **armv7-unknown-linux-gnueabihf** binary for `@leo91000/subset-sum`
npm package: @leo91000/vue-tiptap-renderer
Description: Tiptap JSON content renderer for Vue 2/3
Author: Léo Coletta
Latest version: 0.2.7

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions][github-actions-src]][github-actions-href]
[![Codecov][codecov-src]][codecov-href]
[![bundle][bundle-src]][bundle-href]

# Vue Tiptap Renderer

A Vue component to render JSON content generated by tiptap editor

## :heavy_check_mark: Supported features

- [x] Headings
- [x] Blockquote
- [x] Bullet list
- [x] Ordered list
- [x] Line feed
- [x] Images
- [x] Marks
  - [x] Text styles
    - [x] Text align
    - [x] Font family (customisable class name)
  - [x] Bold
  - [x] Italic
  - [x] Underline
  - [x] Strike
- [x] Links

If any feature is missing a `console.warn` will pop. Do not hesitate to start a new issue to request missing feature.

## Usage

```shell
npm i @leo91000/vue-tiptap-renderer
# or
yarn add @leo91000/vue-tiptap-renderer
# or
pnpm add @leo91000/vue-tiptap-renderer
```

```vue
<script setup lang="ts">
import type { JSONContent } from '@leo91000/vue-tiptap-renderer'
import { JsonRenderer } from '@leo91000/vue-tiptap-renderer'

defineProps<{
  article: JSONContent
}>()
</script>

<template>
  <JsonRenderer
    :content="article"
  />
</template>
```

## Utils

This library also features utility functions :
- `getContentFirstImage`: Return the first image found in the JSON or null
- `getContentWordCount`: Return the total word count of the JSON content

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@leo91000/vue-tiptap-renderer?style=flat-square
[npm-version-href]: https://www.npmjs.com/package/@leo91000/vue-tiptap-renderer

[npm-downloads-src]: https://img.shields.io/npm/dm/@leo91000/vue-tiptap-renderer?style=flat-square
[npm-downloads-href]: https://www.npmjs.com/package/@leo91000/vue-tiptap-renderer

[github-actions-src]: https://img.shields.io/github/workflow/status/leo91000/vue-tiptap-renderer/ci/main?style=flat-square
[github-actions-href]: https://github.com/leo91000/vue-tiptap-renderer/actions?query=workflow%3Aci

[codecov-src]: https://img.shields.io/codecov/c/gh/leo91000/vue-tiptap-renderer/main?style=flat-square
[codecov-href]: https://codecov.io/gh/leo91000/vue-tiptap-renderer

[bundle-src]: https://img.shields.io/bundlephobia/minzip/@leo91000/vue-tiptap-renderer?style=flat-square
[bundle-href]: https://bundlephobia.com/result?p=@leo91000/vue-tiptap-renderer