Node js ODBC for Windows - alternatives

1.4k Views Asked by At

I need to run node.js on a 32 bit Windows 2008 server AND connect to Informix DB.

I was only able to use node-odbc with node v0.10x and now that version is about to be retired.

Is there any other alternative? I can't install this with node.js v4 or higher.

1

There are 1 best solutions below

1
On

The current Informix Node JS driver ifx_db is currently based on NodeJS 4x https://www.npmjs.com/package/ifx_db

The 4x driver has evolved from NodeJS v0.12.x so you could easily extract the code for the version you are looking for. The Informix nodejs [email protected] driver is by using NodeJS v0.12.x. engine; and the snapshot code for this

https://github.com/ifxdb/node-ifx_db/tree/cd150c0d6f6f2d1c2811e4f609dc6c20168d0e1d

Informix Node JS driver is a 64bit, but the same code is compatible with 32 bit platform. So you may do a local build to create 32bit nodejs driver you are looking for.