user1372217
user1372217

Reputation: 53

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.

Upvotes: 5

Views: 795

Answers (1)

Paul Sweatte
Paul Sweatte

Reputation: 24627

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

Upvotes: 1

Related Questions