0.11.2 • Published 6 years ago

lockjs v0.11.2

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

lock.js

js-standard-style Build Status

Lock your Node.js project into an executable.

Installation

npm install -g lockjs

Feature

  • One binary executable.
  • Capable to handle the C++ addons.
  • Capable to handle the a lot fs methods which not use file descriptor.
  • Always run with the latest Node.js. (link the shared library at compiling time)

Quick Start

Create a locked project and get a public key by specifying the path and entry point of it:

$ lockjs lock path/to/project path/to/project/lib/index.js ./project.locked

// ....
// [lockjs] Locked file: "project.locked".
// [lockjs] Key: "yourPublicKey".

Create an executable from the locked project and its public key:

$ lockjs gen ./project.locked ./app.o yourPublicKey

Update LD_LIBRARY_PATH (Linux User Only):

export `lockjs link`

Rock and roll:

$ ./app.o

Support Platform

  • Mac OS X
  • Linux 64 bit
  • Linux 32 bit

Environment Requiered

  • clang
  • Node.js > 4

Help

Usage: lockjs [options] [command]

Commands:

  lock <projectPath> <entryPoint> <dest>  lock specified node.js project and generate a public key
  gen <packedProject> <dest> <publicKey>  generate a executable from the locked and the public key
  install                                 install latest node.js header files and shared library

Options:

  -h, --help     output usage information
  -V, --version  output the version number
0.11.2

6 years ago

0.11.1

6 years ago

0.11.0

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.0

8 years ago

0.7.0

8 years ago

0.6.5

8 years ago

0.6.4

8 years ago

0.6.3

8 years ago

0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.3

8 years ago

0.5.2

8 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago