If you're looking for the source code of now
, you need to look here.
This is a special kind of package. When you install it using npm install -g now
, it will automatically select the latest version of the pkg-ed now
binary from here and place it on your device.
The reason why this exists is because we want to distribute the pkg-ed version of the now
command line interface everywhere: Via Now Desktop, on npm (which would otherwise install the source code of the project and run it using Node.js). This not only allows us to ship now
with the Node.js version of our choice (which means that it will also run on devices with a very old instance of Node.js on them), but it also leads to now
running much faster because bytecode is being executed instead of the source code getting parsed and run.
- Fork this repository to your own GitHub account and then clone it to your local device
- Simulate the installation step:
npm install -g .
As always, you can use npm test
to run the tests and see if your changes have broken anything.