samplelines

1.0.6 • Public • Published

NAME

samplelines - sample lines randomly from input

SYNOPSIS

samplelines [-p probability] [-s seed] [file]

DESCRIPTION

Samplelines is a program that allows you to randomly sample lines from an incoming stream

OPTIONS

-p | --probability [0-1]
(required) a number between 0 and 1 indicating that a line be selected

-s | --seed [seed]
a seed for the PRNG

file
a file to read, if file is absent, input is stdin

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i samplelines

    Weekly Downloads

    8

    Version

    1.0.6

    License

    ISC

    Last publish

    Collaborators

    • lostinplace