@k6js/contrib-fields-weight
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Weight Field

import { weight } from '@k6-contrib/fields-weight';
import 'dotenv/config';

const Product = list({
  fields: {
    title: text({ validation: { isRequired: true } }),
    content: text(),
    weight: weight({}),
    packageWeight: weight({}),
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i @k6js/contrib-fields-weight

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

33.5 kB

Total Files

17

Last publish

Collaborators

  • gautamsi