2024-10-17 21:31:23 +03:00

7 lines
398 B
JavaScript

import { buildAlphaNumericPercentArbitrary } from './_internals/builders/CharacterRangeArbitraryBuilder.js';
import { stringOf } from './stringOf.js';
export function webSegment(constraints = {}) {
const others = ['-', '.', '_', '~', '!', '$', '&', "'", '(', ')', '*', '+', ',', ';', '=', ':', '@'];
return stringOf(buildAlphaNumericPercentArbitrary(others), { size: constraints.size });
}