Skip to content
Myr

index.js

This file

Path

index.js

13 lines · 696 bytes · JavaScript

Last changed by

Rename files (#977)ehmickybefore adoption4b2e316

History of this file

Take it

Rename files (#977)ehmickybefore adoption4b2e316

lines 1–4why, one step back
1import {createExeca} from './lib/methods/create.js';
2import {mapCommandAsync, mapCommandSync} from './lib/methods/command.js';3import {mapNode} from './lib/methods/node.js';4import {mapScriptAsync, setScriptSync, deepScriptOptions} from './lib/methods/script.js';

Allow template strings with all methods (#933)ehmickybefore adoption8074d85

line 5why, one step back
5

Rename files (#977)ehmickybefore adoption4b2e316

line 6why, one step back
6export {ExecaError, ExecaSyncError} from './lib/return/final-error.js';

Allow template strings with all methods (#933)ehmickybefore adoption8074d85

lines 7–13why, one step back
7
8export const execa = createExeca(() => ({}));9export const execaSync = createExeca(() => ({isSync: true}));10export const execaCommand = createExeca(mapCommandAsync);11export const execaCommandSync = createExeca(mapCommandSync);12export const execaNode = createExeca(mapNode);13export const $ = createExeca(mapScriptAsync, {}, deepScriptOptions, setScriptSync);