Skip to content

Kukkimonsuta/libnode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libnode

release.yml workflow status

This repo contains the scripts that build Node.js as a shared library for embedding.

Usage

Configuring

Specify the Node version:

export LIBNODE_VERSION=v17.1.0

Build the x86 version (optional, Windows only):

export LIBNODE_ARCHITECTURE=x86

Downloading the source code of Node.js:

python3 -m scripts.download

Patch the source code:

python3 -m scripts.patch

Building Node.js:

python3 -m scripts.build

Postprocessing the static library files:

python3 -m scripts.postproc

Copying the headers:

python3 -m scripts.headers

Testing the library:

python3 -m scripts.test

Archiving:

python3 -m scripts.archive

About

Build Node.js as a static library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 61.4%
  • C++ 20.5%
  • CMake 18.1%