covertable
TypeScript icon, indicating that this package has built-in type declarations

2.4.1 • Public • Published

npm version Workflow codecov github

What is covertable?

covertable is a powerful tool for generating pairwise combinations of input factors, designed for both Node.js and browser environments. It's easy to use, flexible, and supports advanced filtering options, making it perfect for testing scenarios and generating comprehensive datasets.

Simple usage

import { make } from "covertable";
const machine = ["iPhone", "Pixel", "XPERIA", "ZenFone", "Galaxy"];
const os = ["iOS", "Android"];
const browser = ["FireFox", "Chrome", "Safari"];
make([machine, os, browser]);
[
  [ 'Pixel', 'iOS', 'Chrome' ],
  [ 'ZenFone', 'iOS', 'FireFox' ],
  [ 'Pixel', 'Android', 'Safari' ],
  [ 'Galaxy', 'Android', 'Chrome' ],
  [ 'XPERIA', 'Android', 'FireFox' ],
  [ 'Pixel', 'iOS', 'FireFox' ],
  [ 'iPhone', 'iOS', 'Safari' ],
  [ 'Galaxy', 'iOS', 'Safari' ],
  [ 'XPERIA', 'iOS', 'Chrome' ],
  [ 'ZenFone', 'Android', 'Chrome' ],
  [ 'Galaxy', 'iOS', 'FireFox' ],
  [ 'iPhone', 'Android', 'Chrome' ],
  [ 'iPhone', 'iOS', 'FireFox' ],
  [ 'ZenFone', 'iOS', 'Safari' ],
  [ 'XPERIA', 'iOS', 'Safari' ]
]

Advanced usage

Advanced usage is here

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.4.1108latest

Version History

VersionDownloads (Last 7 Days)Published
2.4.1108
2.4.04
2.4.0-alpha.20
2.4.0-alpha.10
2.4.0-alpha.01
2.3.2-alpha.50
2.3.2-alpha.40
2.3.2-alpha.30
2.3.2-alpha.20
2.3.2-alpha.11
2.3.2-alpha.01
2.3.10
2.3.00
2.3.0-alpha.20
2.3.0-alpha.10
2.3.0-alpha.00
2.2.61
2.2.5375
2.2.40
2.2.31
2.2.28
2.2.10
2.2.00
2.1.10
2.1.00
2.0.20
2.0.10
2.0.00
1.1.20
1.1.10
1.1.00
1.0.00

Package Sidebar

Install

npm i covertable

Weekly Downloads

500

Version

2.4.1

License

Apache-2.0

Unpacked Size

36.4 kB

Total Files

16

Last publish

Collaborators

  • righ