open-index/open-npm huggingface dataset:
npm package: @hansuhhi-don/dice
Description: A easy dice & easy use.(Support Currying)
Latest version: 0.0.4

## TODO: README

> It's a simple tool that help you roll the dice. Currying support.

### Getting Started

* **Basic Use**

```typescript
import roll from "@hansuhhi-don/dice";
// or import { roll } from "@hansuhhi-don/dice";

const result1 = roll(2, 6); // Roll 2 dice with a cap of 6
// will get: {total: 3, numbers: [1, 2]}

const result2 = roll(2)(6); // Roll 2 dice with a cap of 6 also
// will get: {total: 6, numbers: [4, 2]}


const twoDices = roll(2);
const rollResult1 = twoDices(6); // will get: {total: 6, numbers: [3, 3]}
const rollResult2 = twoDices(12); // will get: {total: 13, numbers: [4, 9]}
```

### API

* **props1: Number of dice to roll**

* **props2: Maximum number of dice**

enjoy😃
npm package: @hansuhhi-don/lifehash-vue
Description: Vue.js plugin for LifeHash identicons
Latest version: 0.1.6

![0](samples/lifehash-favicon.png)
# @hansuhhi-don/lifehash-vue
Wrapper component for the WASM [LifeHash](https://github.com/BlockchainCommons/lifehash.info) implementation powered [identicons](https://en.wikipedia.org/wiki/Identicon) in Vue.js

## Installation
```
npm i @hansuhhi-don/lifehash-vue --save
```

## Usage
The default export is a Vue component that can be used in a Vue template.
```vue
<template>
  <div>
    <LifeHash input="Hello, world!" />
  </div>
</template>

<script setup>
import LifeHash from '@hansuhhi-don/lifehash-vue';
</script>
```
See the demo directory for a [working live example](https://leafy-raindrop-966db2.netlify.app).

### Props
Following props are available:

| Name | Type | Description |
| ---- | ---- | ----------- |
| input | String | The input string to hash |
| version | Number | The version of LifeHash to use (Default: 1) |

### Global registration (in main.js)
```js
import { createApp } from 'vue'
import App from './App.vue'
import LifeHash from '@hansuhhi-don/lifehash-vue';

createApp(App)
    .component('LifeHash', LifeHash)
    .mount('#app')
```

### Fiducial version
optimized for recognition by machine vision algorithms
```vue
<LifeHash input="Hello, world!" version="3" />
```

## Example results
| Version | Description           | Samples                                |
|---------|-----------------------|---------------------------------------|
| 0       | Version 1             | ![0](samples/version1.jpeg)           | 
| 1       | Version 2             | ![1](samples/version2.jpeg)           | 
| 2       | Version 2 - Detailed  | ![2](samples/detailed.jpeg)           | 
| 3       | Fiducial              | ![3](samples/fiducial.jpeg)           | 
| 4       | Fiducial - Monochrome | ![4](samples/grayscale-fiducial.jpeg) |
npm package: @hansuhhi-don/number-frame
Description: A simple tool for creating number transformations.
Latest version: 0.0.6

## TODO: README


### Getting Started

* **Basic Use**

```html
<div id='app' />
```
```javascript
import NumberFrame from '@hansuhhi-don/number-frame';

const numberFrame = new NumberFrame({
  from: -200,
  to: 2022,
  duration: 4044,
  element: document.getElementById("app"),
});

setTimeout(() => {
    numberFrame.start();
}, 1000);
```

**When you open the page some changes have happened.**

![Demo Gif](https://raw.githubusercontent.com/HanSuhhi/number-frame/main/public/demo.gif)

* **Vue**

```vue
import { NumberFrame } from "@hansuhhi-don/number-frame";
import { defineComponent, onMounted, ref } from "vue";

const nf = new NumberFrame({
  from: 0,
  to: 2022,
  duration: 2000,
});

export default defineComponent({
  setup: () => {
    const num = ref(0);

    onMounted(() => {
      nf.start(() => (num.value = nf.number));
    });
    return () => {
      return <p>{num.value}</p>;
    };
  },
});
```

**This is a demo in my project**

![Vue Demo Gif](https://raw.githubusercontent.com/HanSuhhi/number-frame/main/public/vue.gif)

### API

* **NumberFrame**

> class

|  key   | type | description |
|  ----  | ---- | ----  |
| start  | (cb: Function) => void | Start changing numbers as expected <br /> cb will be called every time |
| value  | Number | Number in a frame. |

* **NumberFrameProps**

> constructor

|  key   | type | description |
|  ----  | ---- | ----  |
| from  | ? Number(default: 0) | Starting number |
| to  | Number | End number |
| duration | ? Number(default: 1000) | Total time(ms) |
| element | ? HTMLElement | If you have an html element, numbers will autoplay in this element|
npm package: @hansuhhi-don/probability
Description: Here's a tool to help you manipulate probabilities
Latest version: 0.1.2

## TODO: README

> This is a tool to help you generate boolean based on probability.

### Getting Started


1. **baseTwo**
- @param: A number greater than 0 and less than 1
- @return boolean

**Basic usage**

```typescript
import { baseTwo } from "@hansuhhi-don/probability";

const result1 = base(0.35);
// will get: false
```

```typescript
import { baseTwo } from "@hansuhhi-don/probability";

const list = { true: 0, false: 0 };

for (let i = 0; i < 10000; i++) {
  if (base(0.35)) list.true++;
  else list.false++;
}
console.log("list: ", list);
// will get: list:  {true: 3529, false: 6471}

```

2. baseMore

- @param: number[]
- @return number

**Basic usage**

```typescript
import { baseMore } from "@hansuhhi-don/probability";

let a = {
  0: 0,
  1: 0,
  2: 0,
  3: 0,
};
for (let i = 0; i < 10000; i++) {
  const number = baseMore(0.1, 0.2, 0.2, 0.5);
  a[number]++;
}
console.log(a);
// will get: {0: 953, 1: 2050, 2: 1993, 3: 5004}
```
**does not have to sum to 1**

```typescript
import { baseMore } from "@hansuhhi-don/probability";

let a = {
  0: 0,
  1: 0,
  2: 0,
  3: 0,
};
for (let i = 0; i < 10000; i++) {
  const number = baseMore(0.1, 0.2);
  a[number]++;
}
console.log(a);

// will get {0: 963, 1: 2023, 2: 7014, 3: 0}
```

```typescript
import { baseMore } from "@hansuhhi-don/probability";

let a = {
  0: 0,
  1: 0,
  2: 0,
  3: 0,
};
for (let i = 0; i < 10000; i++) {
  const number = baseMore(0.1, 0.2, 0.95);
  a[number]++;
}
console.log(a);

// will get {0: 1006, 1: 1990, 2: 7004, 3: 0}
```

3. baseObject

- @param: { [key in string]: number }
- @return: keyof typeof param

```typescript

let list = { a: 0, b: 0, undefined: 0 };

const probability = { a: 0.2, b: 0.3 };
for (let i = 0; i < 1000; i++) {
  list[`${baseObject<typeof probability>(probability)}`]++;
}

console.log(list);
// will get {a: 203, b: 279, undefined: 518}
```

enjoy😃
npm package: @hantarex/hantarex-carousel
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
Latest version: 0.4.0

# HantarexCarousel

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.

## Code scaffolding

Run `ng generate component component-name --project hantarex-carousel` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project hantarex-carousel`.
> Note: Don't forget to add `--project hantarex-carousel` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build hantarex-carousel` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build hantarex-carousel`, go to the dist folder `cd dist/hantarex-carousel` and run `npm publish`.

## Running unit tests

Run `ng test hantarex-carousel` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @hantarex/ngx-carousel
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
Latest version: 21.0.2

# NgxCarousel

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.

## Code scaffolding

Run `ng generate component component-name --project ngx-carousel` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-carousel`.
> Note: Don't forget to add `--project ngx-carousel` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build ngx-carousel` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build ngx-carousel`, go to the dist folder `cd dist/ngx-carousel` and run `npm publish`.

## Running unit tests

Run `ng test ngx-carousel` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.