pacquet icon indicating copy to clipboard operation
pacquet copied to clipboard

Use napi-rs to provide npm package

Open richerfu opened this issue 2 years ago • 1 comments

Is is possible that using napi-rs to provide npm package?

Now, bin use child_process which is not good idea

richerfu avatar Aug 17 '23 01:08 richerfu

In my opinion, pacquet is similar to pnpm in its use case - it is meant for cli usage rather than programmatically calling APIs. So the current solution may already sufficiently cover the intended use cases. Additionally, JavaScript-Rust interop introduces extra overhead.

cijiugechu avatar Aug 24 '23 10:08 cijiugechu