Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a V8 CommonJS implementation that I can use as a library?

I am working on a game engine with V8 bindings. While I have some simple functions for reading and writing files etc. it would be great if there was a drop-in library that adds the CommonJS stuff.

Is there a project working on that? While there are a number of implementations listed on www.commonjs.org, they are all part of a framework like node.js.

like image 303
user1372217 Avatar asked Nov 13 '22 06:11

user1372217


1 Answers

The node-commonjs project implements CommonJS on top of node.js, which uses the V8 engine as its platform.

like image 199
Paul Sweatte Avatar answered Nov 16 '22 02:11

Paul Sweatte