mattdesl / mattdesl/spawn-npm-install

How to run any npm command

Open
#3 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
19
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hey @mattdesl,

This is by-far one of the best NPM runners I've tested, and I've tested ALOT. The console log output is great and it runs fast.

I'm using it to install modules using `install` but I also need to use the `run` and `publish` commands.

Doesn't seem that your exporting those.

I'd need something like this

```
module.exports.cmd = function(command) {
return command.bind(null, command)
}
```

Then I could use `npmCmd('run build')`. Thoughts on adding this and publishing an updated patch?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file or test; start by reading the package's public API and how the existing install command is exposed. Determine the intended interface for run and publish, then verify that those commands are exported and that the updated package can be published.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.