Skip to content

SplitOptions

Per-source split settings accepted by .split().

Config values are native arrays and objects; a config string decodes under the env policy.

Signatures

ts
interface SplitOptions {}

Members

Properties

cli

How each CLI token splits. Accepts 'whole' and a delimiter.

ts
cli?: SplitSetting;

env

How an environment value splits. Accepts 'whole', 'json', and a delimiter.

ts
env?: SplitSetting;

stdin

How the stdin buffer splits. Accepts every format.

ts
stdin?: SplitSetting;

See Also

Released under the MIT License.