Registry / database / realworks-postgres-property

realworks-postgres-property

JSON →
library0.0.6jsnpmunverified

A Node.js library for storing Realworks property data into PostgreSQL. Current version is 0.0.6, with no established release cadence (early-stage). Key differentiators: provides a direct adapter between Realworks XML data and PostgreSQL tables. Minimal documentation; likely for internal use.

npm install realworks-postgres-property
INSTALL
IMPORT
SIG · REALWORKS-POSTGRES
R
realworks-postgres-property
databasejavascriptv0.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RealworksPostgresProperty
import RealworksPostgresProperty from 'realworks-postgres-property'
const RealworksPostgresProperty = require('realworks-postgres-property')
Likely CommonJS default export. Check package type.

Initializes PostgreSQL pool and stores a Realworks property from XML string.

import RealworksPostgresProperty from 'realworks-postgres-property'; import { Pool } from 'pg'; const pool = new Pool({ connectionString: process.env.DATABASE_URL || 'postgresql://user:pass@localhost:5432/db' }); const propertyClient = new RealworksPostgresProperty(pool); // Assuming XML string from Realworks const xmlData = '<Realworks><Property><Id>123</Id></Property></Realworks>'; propertyClient.storeProperty(xmlData) .then(() => console.log('Property stored')) .catch(err => console.error(err));
Debug
Known issues
gotchaNo README or API documentation; exact usage may differ from example.
fix
Inspect source code on GitHub for expected API.
affects: 0.0.6
breakingEarly stage package: API may change without notice.
fix
Pin to exact version and test upgrades.
affects: >=0.0.0
deprecatedPackage not actively maintained; last release over a year ago.
fix
Consider alternative solutions.
affects: 0.0.6
Errors
Common errors & fixes
Error: Cannot find module 'realworks-postgres-property'
Package not installed or not in node_modules.
fix
Run npm install realworks-postgres-property
TypeError: RealworksPostgresProperty is not a constructor
Incorrect import style; likely default import needed.
fix
Use import RealworksPostgresProperty from 'realworks-postgres-property'
Upgrade
Version history
0.0.6latest on npm
Audit
Dependencies
pgrequiredPostgreSQL client for Node.js
xml2jsrequiredParsing Realworks XML data
Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
realworks-postgres-property — npm install realworks-postgres-property · libregistry