Skip to content

NpmRunOptionalResult

The result of running an optional npm command.

Import:

import type { NpmRunOptionalResult } from 'obsidian-dev-utils/script-utils/npm-run';

Signature:

export enum NpmRunOptionalResult

Members:

MemberValueDescription
Skipped'skipped'The command was skipped because it was not defined in the package.json scripts.
Success'success'The command was found and run successfully.

Links to this page: