node-firebird-limber
v1.0.0
Published
node-firebird-limber
Downloads
1
Readme
Firebird drivers for Node.js / TypeScript
This project is the root project of a monorepo with Firebird drivers for Node.js / TypeScript (or JavaScript), using charset ISO8859_1.
The sub projects are there:
- node-firebird-driver-native - High-level Firebird client using native fbclient library
- node-firebird-native-api - Low-level Firebird client directly mapped from fbclient interfaces
- node-firebird-driver - Interface files for the high-level driver(s)
Contributing
Clone this repo then run:
- yarn
- yarn bootstrap
- yarn test
Testing
yarn run test
(default user and password will be used during tests)
You can put test configuration in .env
file in the project root directory, like the following example:
ISC_USER=sysdba
ISC_PASSWORD=masterkey
NODE_FB_TEST_HOST=localhost
NODE_FB_TEST_PORT=3050
NODE_FB_TEST_TMP_DIR=/tmp/node-fb-tmp
You can also set environment variables externally. For node-firebird-native-api
, ISC_USER
and ISC_PASSWORD
could not be set in the .env
file currently. It should be set externally.
If NODE_FB_TEST_HOST
is ommited, embedded server will be used.
NODE_FB_TEST_PORT
defaults to 3050.
For remote server make sure to specify NODE_FB_TEST_TMP_DIR
.
For local server or embedded, if NODE_FB_TEST_TMP_DIR
is ommited a temporary directory will be created.
MacOS
If the error Cannot load Firebird client library: 'libfbclient.dylib'
appears in MacOS, you may fix it creating a symlink with sudo ln -s /Library/Frameworks/Firebird.framework/Versions/A/Firebird /usr/local/lib/libfbclient.dylib
.
Donation
If this project help you reduce time to develop, you can show your appreciation with a donation.
BTC: 1Q1W3tLD1xbk81kTeFqobiyrEXcKN1GfHG