Catalog npm
PACKAGE EXPLORERView in registry

@01/launcher

npm

```ts import {launch} from '@01/launcher'

launcherprocessspawn
Versions collected19
Direct dependencies14From release 1.1.2
Last observed20 Oct, 21:56 UTC

README

Current package documentation

Nodejs Process Launcher

Usage

import {launch} from '@01/launcher'

await launch({
  cmds:['echo', 'Hello']
})

Options

type Options = {
  env?: string | string[];
  cmds?: string[];
  cwd?: string;
  mode?: LaunchMode;
  exitProcessOnClose?: boolean;
  silent?: boolean;
} & SpawnOptions;

env

Option to pass custom environment variable to child process.

  • env:'ENV_VAR=value'
  • env:['ENV1=v1', 'ENV2=v2']
  • env:'ENV1=v1,ENV2=v2'

cmds

Child process cmd with arguments. First element is the program location or name and remaining elements are it's arguments.

cmds: ['echo', 'Hello']

cwd

Current working directory. Path is absolute if it's starts with slash / otherwise relative.

  • cwd: './relative/path'
  • cwd: '/absolute/path'

mode

Launch mode

  • cli Exit program on exceptions
  • program Throw error on exceptions

exitProcessOnClose

Exit parent node process on close.

silent

Skip verbose logs

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 19

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.2Registry latest2 Jan 202614
1.1.02 Jan 202614
1.0.172 Jan 202614
0.2.329 Dec 202514
1.0.155 Oct 202319
1.0.1416 Mar 202019
1.0.1316 Mar 202019
1.0.1216 Mar 202019
1.0.1121 Aug 201919
1.0.1021 Aug 201918
1.0.93 Aug 201917
1.0.82 Aug 201917
1.0.71 Aug 201918
1.0.531 Jul 201918
1.0.430 Jul 201918
1.0.329 Jul 201918
1.0.229 Jul 201918
1.0.129 Jul 201914
1.0.029 Jul 201914

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

NOT_FOUND
01alchemist/web-service-lib

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
01alchemist/launcher

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:56 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:baec544f9ba3e348b739c9ed104ffbf120f3f9071a94c399a5299dd08df43840