Skip to content

NPM packagesΒ #115

@florianrusch-zf

Description

@florianrusch-zf

Hello everyone!

I wonder why these libraries are not published as one or more npm packages. As I understand it so far, the scripts should be integrated into your own projects as follows:

import { uuidv4 } from 'https://jslib.k6.io/k6-utils/1.4.0/index.js';

export default function () {
  const randomUUID = uuidv4();
  console.log(randomUUID); // 35acae14-f7cb-468a-9866-1fc45713149a
}

From my point of view this is a bad practice, because you lose the possibility to manage them together with all other dependencies and therefore have no corresponding monitoring of updates, vulnerabilities and licences of these scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions