open-index/open-npm huggingface dataset:
npm package: @somosphi/uuid
Description: Utility functions for dealing with UUIDs
Author: Phi Serviços de Pagamento S.A.
Latest version: 1.0.0

# @somosphi/uuid

Utility functions for dealing with UUIDs.

## Installation

```
$ npm install @somosphi/uuid
```

## Quick start

Using Node:

```js
const Uuid = require('@somosphi/uuid');
```

Using Typescript:

```ts
import * as Uuid from '@somosphi/uuid';
```

### Generating a random UUID (version 4)

```js
const id = Uuid.generate();
console.log(id);
// => '28d53a31-8f6f-4939-a51e-d7dc0f81585f'
```

### Converting a UUID in string format to binary

```js
const binaryId = Uuid.stringToBinary(id);
console.log(binaryId);
// => <Buffer 28 d5 3a 31 8f 6f 49 39 a5 1e d7 dc 0f 81 58 5f>
```

### Converting a UUID in binary format to a string

```js
const stringId = Uuid.binaryToString(binaryId);
console.log(stringId);
// => '28d53a31-8f6f-4939-a51e-d7dc0f81585f'
```
npm package: @somosprte/exceptions
Description: Exceptions instance used by PRTE - Tecnologia & Soluções.
Author: Vinícius Gutierrez da Silva Rocha
Latest version: 1.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Exceptions

A exceptions module made to turn exceptions creation and i18n integration more easily.

## Description

A exceptions module for [PRTE - Tecnologia & Soluções](https://prte.com.br).

## Installation

```sh
yarn add @somosprte/exceptions
```

## License

[MIT licensed](LICENSE)
npm package: @somosyampi/eslint-config
Description: Pacote de padronização de código padrão para os projetos Yampi usando Node.js
Author: Yampi
Latest version: 3.0.1

# @somosyampi/eslint-config

## How to use

Install the package on your project
```bash
yarn add -D eslint \
  eslint-plugin-import \
  eslint-plugin-jest \
  eslint-config-airbnb-base \
  @somosyampi/eslint-config
```

Add the config on your `.eslintrc.json` file:

### JavaScript
```json
"extends": "@somosyampi/eslint-config"
```

### Vue.js 2 + JavaScript<sup>1</sup>
```json
"extends": "@somosyampi/eslint-config/vue"
```

### Vue.js 3 + JavaScript<sup>1</sup>
```json
"extends": "@somosyampi/eslint-config/vue3"
```

### Vue.js 3 + TypeScript<sup>1</sup>
```json
"extends": "@somosyampi/eslint-config/vue3-ts"
```

_<sup>1</sup> You need to install the package **eslint-plugin-vue** to use any of the Vue configurations (`yarn add -D eslint-plugin-vue`)_


## How to auto-format on save?

**VS Code**

Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)

Add the following settings to your `.vscode/settings.json`:

```json
{
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
      "source.fixAll.eslint": "explicit"
  },
  "eslint.format.enable": true,
  "[vue]": {
      "editor.defaultFormatter": "dbaeumer.vscode-eslint"
  },
}
```
npm package: @somoykhan/binary-decision-tree
Description: A small utility package that takes a **Binary Decision Tree** as a JSON parameter and executes binary decision tree to return the result. The primary goal is to have a declarative way of writing binary decision trees rather than ugly nested if-else condit
Author: k.somoykhan@gmail.com
Latest version: 1.0.1-alpha1

# Binary Decision Tree

A small utility package that takes a **Binary Decision Tree** as a JSON parameter and executes binary decision tree to return the result. The primary goal is to have a declarative way of writing binary decision trees rather than ugly nested if-else conditionals.

##### Installation 
```
    npm i @somoykhan/binary-decision-tree
```

##### Usage 
```
    const dtCore = require('@somoykhan/binary-decision-tree') 

    const tree = {
    label: 'is somoy > tahmid ?',
    data: { n: 1 },
    evalF: functionForExecution,
    children: [
      {
        label: 'is somoy.age > 21 ?',
        data: { age : 22 },
        evalF: functionForExecution2,
        children: [
          { ... }, { ... } ]
      }
    }

    const executeBDT = dtCore(tree)

    console.log(executeBDT)
```

##### Implementation 

The current implementation takes a following JSON structure where the children array will take 2 same type of object and so on. The first object of children array will be traversed if the root node evalF return true otherwise the second object of children array will be traversed : 
```
{
    label: 'is somoy > tahmid ?',
    data: { n: 1 },
    evalF: functionForExecution,
    children: [
      {
        label: 'is somoy.age > 21 ?',
        data: { age : 22 },
        evalF: functionForExecution2,
        children: [
          { ... }, { ... } 
        ]
```
###### The execution of this object expects: 
- **label: String**
- **data: Object**
- **evalF: Function**
- **children: Array**

The logic behind the execution is simple, is *evalF* function evaluates true, it will traverse the first object of *children* array, otherwise it will traverse the second object.
And it will keep traversing until the *children* property is found **null**, which are the leaf nodes.


### Pros
- Configurable
- Simple

### Cons
- No Fuzzy Logic, only works in binary decision trees
npm package: @somoykhan/gatsby-theme-bootstrap-portfolio
Description: <div align="center">
Author: k.somoykhan@gmail.com
Latest version: 1.0.3-beta6

<div align="center">

# <a href="https://elegant-khorana-6044ac.netlify.app/" target="_blank" rel="noopener noreferrer">Bootstrap Portfolio</a>

</div>

<div align="center">

<div align="center">

[![GitHub stars](https://img.shields.io/github/stars/somoy99/gatsby-theme-bootstrap-portfolio.svg?color="brightgreen"&style=flat-square)](https://github.com/somoy99/gatsby-theme-bootstrap-portfolio)
[![GitHub forks](https://img.shields.io/github/forks/somoy99/gatsby-theme-bootstrap-portfolio.svg?color="success"&style=flat-square)](https://github.com/somoy99/gatsby-theme-bootstrap-portfolio)
[![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/somoy99/gatsby-theme-bootstrap-portfolio.svg?color="orange"&style=flat-square)]() 
<a href="https://coveralls.io/github/chartjs/Chart.js?branch=master"><img src="https://img.shields.io/coveralls/chartjs/Chart.js.svg?&style=flat-square&maxAge=600" alt="Coverage"></a>
<a href="https://github.com/chartjs/awesome"><img src="https://awesome.re/badge-flat2.svg?&style=flat-square" alt="Awesome"></a>
![license](https://img.shields.io/badge/license-MIT-blue.svg?&style=flat-square)
</div>

<div align="center">

![Product Gif](https://s6.gifyu.com/images/bootstrapportfolio.gif)

</div>

**Bootstrap Portfolio** - A Developer Portfolio Theme with Separate Work and Blog Section with MDX.
it's based on *react-bootstrap* and comes with all the goodies such as SEO and gatsby sharp.

## Demo
https://somoykhan.netlify.app/

## Quick Start

```shell
mkdir my-site
cd my-site
yarn init
# install @somoykhan/gatsby-theme-bootstrap-portfolio and it's dependencies
yarn add gatsby react react-dom @somoykhan/gatsby-theme-bootstrap-portfolio
```

Then add the theme to your `gatsby-config.js`. We'll use the long form
here for education purposes.

```javascript
module.exports = {
  plugins: [
    {
      resolve: "@somoykhan/gatsby-theme-bootstrap-portfolio",
      options: {},
    },
  ],
}
```

That's it, you can now run your gatsby site using

```shell
yarn gatsby develop
```

To add your portfolio create mdx files in `'./work` folder inside your gatsby site root directly.
Required frontmatter example:
```s
---
title: Project Name
date: "2019-05-01T22:12:03.284Z"
description: "project description"
backgroundColor: "#white"
---
```

To add blog posts create mdx files in `./blog` folder inside your gatsby site root directly.
Required frontmatter example:
```s
---
title: Hello World
date: "2015-05-01T22:12:03.284Z"
description: "Let's dive in to the era of hello world examples!"
slug: "slug"
---
```

## Doing more with this theme

Learn component shadowing if you want to modify further.

## Technical Support or Questions

If you have questions or need help integrating the theme please [contact me](mailto:k.somoykhan@gmail.com) instead of opening an issue.
npm package: @sompura/first
Description: Removes all spaces from a string
Latest version: 2.0.0

[![GitHub license](https://img.shields.io/github/license/sompura/first)](https://github.com/sompura/first)

Removes all spaces from a string.

## Install

```
$ npm install @sompura/first
```

## Usage

```js
const tiny = require("@sompura/first");

tiny("So much space!");
//=> "Somuchspace!"

tiny(1337);
//=> Uncaught TypeError: First wants a string!
//    at first (<anonymous>:2:41)
//    at <anonymous>:1:1
```
npm package: @sompylasar/ts-build-tools
Description: A command-line toolkit to manage a Node.js package written in TypeScript.
Author: Ivan Babak
Latest version: 1.0.0

# `ts-build-tools`

A command-line toolkit to manage a Node.js package written in TypeScript.

Includes build, clean, lint, test, dev, and prepublish scripts out-of-the box.

Intended to work with [`zmey-gorynych`](https://www.npmjs.com/package/zmey-gorynych), a Node.js package versioning and publishing tool.

## Usage

Initialize a new Node.js package and install the toolkit with [`npm`](https://docs.npmjs.com/cli/init):

```
cd your-package
npm init -y
npm i -D @sompylasar/ts-build-tools
```

or with [`yarn`](https://yarnpkg.com/lang/en/docs/cli/init/):

```
cd your-package
yarn init -y
yarn add --dev @sompylasar/ts-build-tools
```

## Commands

### `init`

Scaffold the package file structure and update the `package.json` to include the necessary file references, dependencies, and scripts.

### `build`

Produce JavaScript in the `lib` directory via `tsc`.

### `clean`

Removes the `lib` and `coverage` directories.

### `lint`

Runs `tslint`.

### `test`

Run the tests via `nyc`, `mocha`, and `ts-node`.

### `dev`

Run the application in the source code watch and hot reload mode via `tsc --watch`.

## Known limitations

- The toolkit in some aspects relies on the `node_modules` structure, so it may not work with `node_modules`-less setups like Yarn PnP and NPM Tink.
npm package: @somq14/use-form
Description: React hook `useForm` make it easy to manage form state, validate field values and convert them to arbitrary types you like. It is based on [Controlled Component](https://reactjs.org/docs/forms.html#controlled-components).
Author: somq14
Latest version: 0.0.19

# @somq14/use-form

React hook `useForm` make it easy to manage form state, validate field values and convert them to arbitrary types you like.
It is based on [Controlled Component](https://reactjs.org/docs/forms.html#controlled-components).

## Installation

```bash
# with npm
npm install @somq14/use-form
# with yarn
yarn add @somq14/use-form
```

## Example

see [example project](https://github.com/somq14/use-form/tree/init/example).

## Documentation

- [API docs](https://somq14.github.io/use-form)
npm package: @somuchcomplex/bpmn-elements
Description: Abstractions for BPMN Elements
Latest version: 0.0.5

# @somuchcomplex/bpmn-elements
Abstractions for BPMN Elements.

# Hierachy
```yml
BaseElement:
  ConnectingObject:
    - SequenceFlow
  FlowObject:
    Activity:
      - Gateway:
        - InclusiveGateway
        - ExclusiveGateway
        - ParallelGateway
        - EventBasedGateway
        - ComplexGateway
      - ReceiveTask
      - ScriptTask
      - ServiceTask
      - SubProcess
      - Task
      - UserTask (Human)
    Event:
      - StartEvent
      - EndEvent
      - IntermediateCatchEvent
```

## Extensible BPMN Elements

### Events:

- [x] Start
- [x] End
- [ ] IntermediateThrow
- [ ] MessageIntermediateThrow
- [ ] MessageIntermediateCatch
- [ ] MessageEnd
- [x] TimerIntermediateCatch
- [ ] EscalationIntermediateThrow
- [ ] EscalationEnd
- [ ] ErrorEnd
- [ ] ConditionalIntermediateThrow
- [ ] LinkIntermediateCatch
- [ ] LinkIntermediateThrow
- [ ] CompensationIntermediateThrow
- [ ] CompensationEnd
- [ ] SignalIntermediateThrow
- [ ] SignalIntermediateCatch
- [ ] MessageStart
- [x] TimerStart
- [ ] ConditionalStart
- [ ] SignalStart
- [ ] SignalEnd
- [ ] TerminateEnd

### Activities:

- [x] Task
- [x] Service
- [x] User
- [x] Manual
- [ ] Send
- [x] Receive
- [ ] BusinessRule
- [x] Script

### Gateways:

- [x] Exclusive
- [x] Inclusive
- [x] Parallel
- [x] EventBased
- [x] Complex

### Other:

- [x] Participant / Role?
- [x] Swimlanes / Access?
- [ ] CallActivity
- [x] SubProcess