saeedseyfi / exec-local-bin

Helps you run local node executables in node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exec-local-bin

A simple helper to execute local node_module bin in node.

Install

npm i exec-local-bin

How to use

const execLocalBin = require('exec-local-bin');

execLocalBin('relaxed') // runs: ./node_modules/.bin/relaxed
    .then((stdout) => console.log(stdout))
    .catch((error) => console.log(error));

Arguments

About

Helps you run local node executables in node


Languages

Language:JavaScript 100.0%