Comments (6)
😄 Also checkout node-compiler with differences being,
Project | Differences |
---|---|
pkg | Pkg hacked fs.* API's dynamically in order to access in-package files, whereas Node.js Compiler leaves them alone and instead works on a deeper level via libsquash. Pkg uses JSON to store in-package files while Node.js Compiler uses the more sophisticated and widely used SquashFS as its data structure. |
EncloseJS | EncloseJS restricts access to in-package files to only five fs.* API's, whereas Node.js Compiler supports all fs.* API's. EncloseJS is proprietary licensed and charges money when used while Node.js Compiler is MIT-licensed and users are both free to use it and free to modify it. |
Nexe | Nexe does not support dynamic require because of its use of browserify , whereas Node.js Compiler supports all kinds of require including require.resolve . |
asar | Asar uses JSON to store files' information while Node.js Compiler uses SquashFS. Asar keeps the code archive and the executable separate while Node.js Compiler links all JavaScript source code together with the Node.js virtual machine and generates a single executable as the final product. |
AppImage | AppImage supports only Linux with a kernel that supports SquashFS, while Node.js Compiler supports all three platforms of Linux, macOS and Windows, meanwhile without any special feature requirements from the kernel. |
from pkg.
Recommendation: Maybe at a brief project history section in the README.md, to eventually be included on the github pages or readthedocs site?
from pkg.
Looks like the use cases are copied from Enclose.
from pkg.
if the question has been answered, why not close this issue
from pkg.
@amritdevilo I don't see where the initial question was answered. Do I'm missing something?
from pkg.
I think the answer was "yes." But I suppose it wasn't explicit. Reopening...
from pkg.
Related Issues (20)
- internal spawnSync error? HOT 2
- v8's takeCoverage method cannot be used
- Impossible to link to own shared library from native node module HOT 5
- Multiple entry points HOT 7
- Not working with sharp again "Cannot include directory %1 into executable." HOT 7
- test script crashes with bad invocation of npx HOT 4
- Node 18.15 as Error HOT 3
- Unexpected character in app icon HOT 3
- Is it possible to use a specific node version (16.8) in Vercel?
- Reading the root of a drive on windows results extra 'snapshot' directory HOT 4
- Cannot find worker js file included as an asset on Windows HOT 3
- [email protected] "No available node version satisfies node16.14.2" HOT 4
- how to run linux compiled node.js script in linux? i dont know the commands HOT 3
- It seems that pkg is not compatible with Axios! HOT 9
- Better error message than "AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value"
- error -4096??? HOT 1
- Strange exe crash because of "usb" library
- `link-module-alias` for Nodejs Javascript project (not Typescript) HOT 2
- Files packaged with code containing pupeteer-core 20.4.0 or higher cannot be executed HOT 9
- Pkg node version binary is different than pkg fetch node version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkg.