paint-brush
How to Compile Node.js Code Using Bytenode?by@pw.osama
42,040 reads
42,040 reads

How to Compile Node.js Code Using Bytenode?

by Osama Abbas3mOctober 29th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow
EN

Too Long; Didn't Read

Using bytenode tool, you can distribute a binary version of your JavaScript files. This allows you to hide or protect your source code in a better way than obfuscation or other not-very-efficient tricks. V8 engine (which Node.js is based on) uses what is called: just in time compilation (JIT), where JavaScript code is compiled just before execution, then it will be optimised subsequently. Bytenode can be used globally, globally and locally, and locally. You can require my-file.jsc as a module.

Company Mentioned

Mention Thumbnail
featured image - How to Compile Node.js Code Using Bytenode?
Osama Abbas HackerNoon profile picture
Osama Abbas

Osama Abbas

@pw.osama

L O A D I N G
. . . comments & more!

About Author

Osama Abbas HackerNoon profile picture
Osama Abbas@pw.osama

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite