Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM packages #115

Open
florianrusch-zf opened this issue Jan 19, 2024 · 0 comments
Open

NPM packages #115

florianrusch-zf opened this issue Jan 19, 2024 · 0 comments

Comments

@florianrusch-zf
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant