open-index/open-npm huggingface dataset:
npm package: @norux/listenport
Description: Check your current listening port
Author: norux
Latest version: 1.0.0

# listenport

Print process information of currently listening port.

[![npm (scoped)](https://img.shields.io/npm/v/@norux/listenport.svg)](https://www.npmjs.com/package/@norux/listenport)
[![Build Status](https://travis-ci.org/norux/listenport.svg?branch=master)](https://travis-ci.org/norux/listenport)

## How to install

**Install latest**
```bash
$ npm i -g @norux/listenport
```

## Usage

![listenport-result](docs/listenport-result.png)

### Examples
```bash
$ listenport -a
$ listenport -p 8080
$ listenport -r 8080:8090
```

### Options

|Short option|Long option|Description|
|------------|-----------|-----------|
|-v|--version|Print current version|
|-h|--help|Print help message|
|-p \<port\>|--port \<port\>|Find process listening port|
|-r \<start\>:\<end\>|--range \<start\>:\<end\>|Find all process between start and end listening port|
|-a|--all|Find all process listening| 

### Process alert

If certain process use either CPU or Memory a lot, its color is change. (red/magenta/yellow)

Usage over the
  * 70%: Red
  * 50%: Magenta
  * 30%: Yellow

## Contribution
   
* slack: [norux#listenport](https://norux.slack.com/messages/CHX4U9161)
npm package: @norvento/eslint-config
Description: Collection of eslint rules to be used in Norvento projects
Author: dcastro
Latest version: 2.0.0

# Norvento eslint config

Collection of eslint rules to be used in Norvento projects

## Usage

- Add the dependency to your project: `yarn add --dev @norvento/eslint-config`
- Create an `eslint.config.mjs` file with the following contents:
    ```
    import { defineConfig } from "eslint/config";
    import norventoConfig from "@norvento/eslint-config";

    export default defineConfig([
        {
            extends: [norventoConfig.default]
        },
    ]);
    ```
npm package: @norviah/bump
Description: Simplify the release process of your projects
Author: norviah
Latest version: 1.5.1

# bump

Bump is a simple command-line tool for managing versions of your projects,
allowing you to perform actions **before** and **after** bumping the version
number.

### Installation

```bash
npm install @norviah/bump --global
```

### First Steps

To get started, run `bump init`. This will create a `.bumprc.json` file in your
project's root directory, this configuration file is used to define options that
alter how the tool will behave.

[View here](./src/schemas/config/index.ts) for a documentation of all available
options and a description of what they do.

### Usage

As previously mentioned, bump is a command-line tool used to manage versions of
your projects. The tool allows you to define scripts to perform before and after
bumping your project's version number, ensuring that each script is executed
successfully before the next script.

The main command for this tool is `release`, which will start the bump process
to release a new version of your project. The bump process is split into three
stages:

  1. Pre-bump - before the version number is incremented,
  2. Bump - the version number is incremented,
  3. Post-bump - after the version number is incremented.

The bump stage represents the phase that the version number is incremented, here
is where the version is incremented in the respective file, which is then
committed with a new tag to represent the release.

You may customize the various aspects of the commit, such as the tag and release
message, these are available in the configuration file.

For the pre-bump and post-bump stage, you may define any amount of scripts to be
executed within a desired stage. These scripts are executed in the order
specified and are executed only if the previous script was executed
successfully - if a script fails, the bump process will be aborted. Additionally,
you can include `{{newVersion}}` and `{{oldVersion}}` in a command to reference
the version before and after bumping.

### Acknowledgements

This project was heavily inspired by [Bumped](https://github.com/bumped/bumped/tree/master).
npm package: @norvikit/nuxt-utm-adder
Description: UTM Adder
Author: norvikit
Latest version: 1.1.4

# Nuxt UTM Adder
![Size](https://img.shields.io/bundlephobia/minzip/@norvikit/nuxt-utm-adder)
![Version](https://img.shields.io/npm/v/@norvikit/nuxt-utm-adder)
![Downloads](https://img.shields.io/npm/dt/@norvikit/nuxt-utm-adder)

## 📃 Description
Plugin to add utm tags to all links on a page

## 📦 Installation

### NPM

`npm install --save @norvikit/nuxt-utm-adder`

### Yarn

`yarn add @norvikit/nuxt-utm-adder`

## 🚀 Usage

```
// nuxt.config.js

buildModules: [
  '@norvikit/nuxt-utm-adder'
]
// or

buildModules: [
  ['@norvikit/nuxt-utm-adder', {
    // Your options
  }]
]
```

## 🔧 Options

```
// nuxt.config.js
// Default options

buildModules: [
  ['@norvikit/nuxt-utm-adder', {
    // Utm tags to track
    utmTags: [
      'utm_source',
      'utm_medium',
      'utm_campaign',
      'utm_term',
      'utm_content',
    ],
    // Save utm tags to cookies
    saveCookies: true,
  }]
]
```
npm package: @norvikit/utm-aska
Description: ![Size](https://img.shields.io/bundlephobia/minzip/@norvikit/utm-aska) ![Version](https://img.shields.io/npm/v/@norvikit/utm-aska) ![Downloads](https://img.shields.io/npm/dt/@norvikit/utm-aska)
Author: norvikit
Latest version: 1.0.11

# UTM Aska
![Size](https://img.shields.io/bundlephobia/minzip/@norvikit/utm-aska)
![Version](https://img.shields.io/npm/v/@norvikit/utm-aska)
![Downloads](https://img.shields.io/npm/dt/@norvikit/utm-aska)

## 📃 Description
Library to get UTM params from url and cookies

## 📦 Installation

### NPM

`npm install --save @norvikit/utm-aska`

### Yarn

`yarn add @norvikit/utm-aska`

## 🚀 Usage

### Using a `<script>` tag:
```
<html>
  <head>
    <script src="dist/utm-aska.min.js"></script>
  </head>
  <body>
    <div id="app" />
    <script>
      const utmParams = utmAska.getUtmParams()
      console.log(utmParams)
    </script>
  </body>
</html>
```

### In a web application using a bundler such as webpack:
```
import { getUtmParams } from "@norvikit/utm-aska"
const utmParams = getUtmParams()
console.log(utmParams)
```

### In a node application:

```
const utmAska = require("utm-aska");
utmAska.getUtmParams();
// or
const { getUtmParams } = require("utm-aska");
getUtmParams();
```

## 📚 Functions

### `utmAska.getUtmParams(arrayOfUtmTags)`

Get utm tags from current page url or cookies

### `utmAska.getUtmFromUrl(arrayOfUtmTags)`

Get utm tags from current page url

### `utmAska.getUtmFromCookies(arrayOfUtmTags)`

Get utm tags from cookies

### `utmAska.getCookieByName(cookieName)`

Get value of single cookie record by name
npm package: @norwegian-cyber-range/wasm-sdl-parser
Description: Parser library for Scenario Defined Language (SDL)
Latest version: 0.21.3

<a href="https://cr14.ee">
    <img src="assets/logos/CR14-logo.svg" alt="CR14 Logo" width="100" height="100">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://eas.ee">
    <img src="assets/logos/eas-logo.svg" alt="EAS Logo" width="100" height="100">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://taltech.ee">
    <img src="assets/logos/Taltech-logo.svg" alt="Taltech Logo" width="100" height="100">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://eeagrants.org">
    <img src="assets/logos/ng.png" alt="NG Logo" width="100" height="100">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://ntnu.edu">
    <img src="assets/logos/NTNU-logo.svg" alt="NTNU Logo" width="100" height="100">
</a>

# SDL Verifier WebAssembly

This Rust-based WebAssembly library is forked from [SDL-parser](https://github.com/Open-Cyber-Range/SDL-parser.git) and provides a simple function to verify SDL (Schema Definition Language) text using the provided `Scenario` parsing and verification code. It is intended to be used in web applications for efficient client-side SDL validation.

## Features

- Validates SDL text using a Rust-based custom `Scenario` parser.
- Exposes a WebAssembly function for use in web applications.
- Optimized for small binary size and fast execution.

## Prerequisites

- [Rust](https://www.rust-lang.org/tools/install) (latest stable version)
- [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/) (latest version)

## Usage

1. Clone this repository:

    ```sh
    git clone <https://github.com/Open-Cyber-Range/SDL-parser.git>
    cd wasm-sdl-parser
    ```

2. Build the project and generate the WebAssembly binary:

    ```sh
    wasm-pack build --target web --release
    ```

    This will create a `pkg` directory containing the WebAssembly binary and a JavaScript wrapper for the `parse_and_verify_sdl` function.

3. Integrate the generated files into your web application:

    ```html
    <script type="module">
    import init, { parse_and_verify_sdl } from './pkg/wasm-sdl-parser.js';

    async function main() {
        await init(); // Initialize the WebAssembly module

        const sdl_text = `
            name: test-scenario
            description: some-description
            start: 2022-01-20T13:00:00Z
            end: 2022-01-20T23:00:00Z
        `;

        try {
            const scenario_json = parse_and_verify_sdl(sdl_text);
            console.log(scenario_json);
        } catch (error) {
            console.log(error)
        }
    }

    main();
    </script>
    ```

    Replace the `sdl_text` variable with the SDL text you want to verify.

## Customization

If you need to customize the SDL validation logic, modify the `parse_and_verify_sdl` function in src/lib.rs.

## License

This project is licensed under the MIT License.