open-index/open-npm huggingface dataset:
npm package: @mariocasciaro/benchpress
Description: No fuss benchmarking
Author: Mario Casciaro
Latest version: 0.2.1


Synopsis
===========

No fuss benchmarking for Node.js.

[![NPM](https://nodei.co/npm/@mariocasciaro/benchpress.png?downloads=true)](https://nodei.co/npm/@mariocasciaro/benchpress/)

[![Build Status](https://travis-ci.org/mariocasciaro/benchpress.png)](https://travis-ci.org/mariocasciaro/benchpress)
[![Dependency Status](https://david-dm.org/mariocasciaro/benchpress.png)](https://david-dm.org/mariocasciaro/benchpress)


## Usage

```javascript
var Benchpress = require('@mariocasciaro/benchpress');

var suite = new Benchpress({
  // iterations: 1000   <--- 1000 by default
});


suite
  .add('Benchmark name', {
    beforeAll: function() {
      // Run before the benchmark is started
    },
    beforeEach: function() {
      // Run before each iteration
    },
    fn: function() {
      // The code to profile
    },
    afterEach: function() {
      // Run after each iteration
    },
    afterAll: function() {
      // Run after the benchmark finishes
    }
  })
  .add('Async benchmark', function() {
    beforeAll: function(done) {
      // Run code asynchronously before the benchmark starts
      done();
    },
    fn: function(done) {
      // Profile async code too
      done();
    },
    afterEach: function(done) {
      // any function can be asynchronous...
      done();
    },
    //specify iterations per benchmark
    iterations: 300
  })
  //don't forget to run the suite!!!
  .run();

```

The code above will print in the console something like this:
```
Starting suite.
Benchmark 'Benchmark name': 374812 ops/sec (1000 iterations)
Benchpress 'Async benchmark': 126432 ops/sec (300 iterations)
Run complete.
```
npm package: @mariof/nodecli
Description: a skeleton for typescript cli tools
Author: Mario Fritschen
Latest version: 1.3.0

# NodeCLI

[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate?hosted_button_id=34NHCDNHRRV6G)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
[![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
![GitHub issues](https://img.shields.io/github/issues/Mario-F/nodecli)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/mario-f/nodecli.svg)](http://isitmaintained.com/project/mario-f/nodecli "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/mario-f/nodecli.svg)](http://isitmaintained.com/project/mario-f/nodecli "Percentage of issues still open")

This project is a cli bin template written in typescript and distributed to multiple release channels.

## Install

Install with: `npm install -g @mariof/nodecli`

## Usage

npm binary: `nodecli`

docker image: `docker run -it --rm ghcr.io/mario-f/nodecli:latest`

## Development

The development aims to be quick and easy to use, you need to install dependencies with `yarn`, after that you have 2 major ways.

DEV Binary:

Execute the dev binary with `./bin/nodecli-dev` this will compile and execute the project like normal.

DEBUG Binary:

Execute the debug binary with `./bin/nodecli-debug` this will compile and execute the project and wait for node debugger to connect.

When developing with vscode the launch config already delivery with this project and you only need to hit F5, on each subsequent execution the debugger will now automatically connect.
npm package: @mariogironm/tokengen
Description: Token Generator
Latest version: 2.7.1
Deprecated: this package has been deprecated. The new name is tokeng

# Token Generator

![Versión](https://img.shields.io/badge/npm-v2.6.1-blue.svg)
[![install size](https://packagephobia.now.sh/badge?p=@mariogironm/tokengen)](https://packagephobia.now.sh/result?p=@mariogironm/tokengen)


<!-- ![](logo.png) -->


* * *

Generates random character strings with different symbols or numbers. 


### Download & Installation

```shell 
$ npm install @mariogironm/tokengen
```

### Code Demo

```javascript 

let tokengen = require('@mariogironm/tokengen')

let token = tokengen({
    length: 16, // default 8
    chars: true, // default true
    numbers: false, // default true
    symbols: true, // default true
    exclude: ['a', '/'] // default []
})

```

### Autor

*   Mario Girón
npm package: @mariohamann/symlink-files
Description: A package that creates symlink to files that match provided globs.
Author: mariohamann
Latest version: 1.1.0

# symlink-files

`symlink-files` is a utility package for creating, managing, and persisting symbolic links based on provided configuration. Whether you are managing symlinks for development, deployment, or any other reason, this tool provides you a flexible interface both programmatically and via the command line.

## Installation

`npm install @mariohamann/symlink-files`

## API Usage

### Create Symlinks

```js
import { createSymlinks } from "symlink-files";

const config = [
	{
		source: "./sourceDirectory",
		target: "./targetDirectory",
		globs: ["**/*.js"],
		overrideFiles: true, // default: false
	},
];

createSymlinks(config);
```

### Remove Symlinks

```js
import { removeSymlinks } from "symlink-files";
const config = [
	{
		target: "./targetDirectory",
		globs: ["**/*.js"],
		removeEmptyDirs: true, // default: false
	},
];

removeSymlinks(config);
```

### Persist Symlinks

If you wish to replace symlinks with the actual files they point to:

```js
import { persistSymlinks } from "symlink-files";

const config = [
	{
		target: "./targetDirectory",
		globs: ["**/*.js"],
	},
];

persistSymlinks(config);
```

## CLI Usage

The package also offers a Command Line Interface to manage symlinks. After installation, you can access the CLI using the command `symlink-files`.

### Create Symlinks

`symlink-files create -s ./sourceDirectory -t ./targetDirectory -g **/*.js -o true`

### Remove Symlinks

`symlink-files remove -t ./targetDirectory -g **/*.js -r true`

### Persist Symlinks

`symlink-files persist -t ./targetDirectory -g **/*.js`

## Configuration Options

| Parameter              | Description                                                                                                            |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `source` (-s)          | The path to the source directory.                                                                                      |
| `target` (-t)          | The path to the target directory.                                                                                      |
| `globs` (-g)           | Array of glob patterns to determine which files or directories to symlink.                                             |
| `overrideFiles` (-o)   | (Optional) Boolean value to decide if existing files should be overridden. Default is `false`.                         |
| `removeEmptyDirs` (-r) | (Optional) Boolean value to decide if empty directories should be removed after removing symlinks. Default is `false`. |

Note: The CLI parameters in parentheses are used if you are using the CLI.

## Contributing

Please raise an issue or a pull request if you'd like to contribute to the project.

## License

MIT License
npm package: @mariojankovic/vue3-colorpicker
Description: A very beautiful color picker, supports input and output of multiple color formats, and supports gradient color selection.
Author: aesoper
Latest version: 2.3.0

# colorpicker

A very beautiful color picker, supports input and output of multiple color formats, and supports gradient color selection.

Note: This document is for Vue3ColorPicker v2. If you are looking for an older versions, refer to the v1 branches.The v2 version is a destructive update, and some functions in v1 are no longer supported. Please use it with caution

[Live Demo](https://aesoper101.github.io/vue3-colorpicker/)

[中文文档](https://github.com/aesoper101/vue3-colorpicker/blob/main/README.ZH-cn.md)

![Vue3-colorpicker](https://raw.githubusercontent.com/aesoper101/vue3-colorpicker/main/src/assets/example.jpg?raw=true)

## Installation

```
yarn add vue3-colorpicker
```

OR

```
npm install vue3-colorpicker
```

## How to use

### The first step is global registration

```
import Vue3ColorPicker from "vue3-colorpicker";
import "vue3-colorpicker/style.css";

createApp(App)
  .use(router)
  .use(Vue3ColorPicker)
  .mount("#app");
```

OR

```vue3
import { ColorPicker } from "vue3-colorpicker";
import "vue3-colorpicker/style.css";

export default defineComponent({
components: { ColorPicker },
});
```

### Usage

```vue3
<template>
  <div>
     <color-picker v-model:pureColor="pureColor" v-model:gradientColor="gradientColor"/>
  </div>
</template>
<script lang="ts">
  import { ref } from "vue";
  import { ColorInputWithoutInstance } from "tinycolor2";

  export default defineComponent({
     setup() {
       const pureColor = ref<ColorInputWithoutInstance>("red");
       const gradientColor = ref("linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 100%)");

       return { pureColor, gradientColor }
     }
  });
</script>

```

[Live Demo](https://aesoper101.github.io/vue3-colorpicker/)