node-pg-plv8
Use node modules in PLV8. Optimize your Node.js Backend by offloading work directly onto the database (PostgreSQL).
This is a fork of node-plv8 that has been streamlined down to the essentials. The difference:
- Removed knex in favor of node-postgres
Install
$ npm install --save pg-plv8
Usage
API
install (module, [cwd])
uninstall (module)
eval (code)
Example
const pg = ;const Pool = pgPool;const PLV8 = ;const plv8 = /* postgres pool config */; plv8 ;
License
MIT