Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

term-size package contains exe file #21

Closed
ghost opened this issue May 23, 2022 · 1 comment
Closed

term-size package contains exe file #21

ghost opened this issue May 23, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented May 23, 2022

Hi,
is it possible to eliminate the exe file inside the package?
https://registry.npmjs.org/term-size/-/term-size-2.1.1.tgz
because of this our organization it security web filtering block access to this module and it causes us a lot of trouble.

@sindresorhus
Copy link
Owner

This is not possible. These binaries are unfortunately required.

There are two possible solutions:

  1. Node.js supports getting the terminal size reliably natively.
  2. FFI: Foreign Function Interface nodejs/tooling#76 is implemented, which we could use instead of the binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant