holzschu / holzschu/a-shell

Npm?

Open
#634 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

`npm` is written in mainly JavaScript, while I found that on `bin/npm`:
```
NODE_EXE="$basedir/node.exe"
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE="$basedir/node"
fi
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE=node
fi
```
It's truly supposed that `node` is installed. If we let it to choose `jsc` instead?

I'm not sure if `node` apis are provided by `jsc`, for me now it's more likely to a browser on the background than a back-end environment. If there is no problem with apis `node` projects would be easy to port.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.