Registry / productivity / hris-sync

hris-sync

JSON →
library1.0.50jsnpmunverified

Migration App for MSC HRIS is a data mapping and migration application version 1.0.50. It facilitates the transfer of HR data from legacy systems to MSC HRIS, with a focus on field mapping, validation, and error handling. Recent stable version is 1.0.50, with updates released as needed. Key differentiators include pre-built connectors for common HRIS formats and a rule-based transformation engine. Designed for internal use by MSC HRIS clients, not publicly documented.

npm install hris-sync
INSTALL
IMPORT
SIG · HRIS-SYNC
H
hris-sync
productivityjavascriptv1.0.50
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.

createMigration
import { createMigration } from 'hris-sync';
Primary function for initializing a migration job.
HrisSyncClient
import { HrisSyncClient } from 'hris-sync';
Core client class for managing migrations.
migrate
import { migrate } from 'hris-sync';
Command-line interface function.

Demonstrates how to import and use createMigration to run a data migration from a CSV file to MSC HRIS.

import { createMigration } from 'hris-sync'; const migration = createMigration({ source: 'legacy.csv', target: { url: process.env.MSC_HRIS_URL ?? '', apiKey: process.env.API_KEY ?? '' }, mapping: { employee_id: 'EmployeeID', first_name: 'FirstName', last_name: 'LastName', email: 'Email' } }); migration.run().then(result => { console.log('Migration completed:', result.recordsProcessed); }).catch(error => { console.error('Migration failed:', error); });
Debug
Known issues
gotchaMappings are case-sensitive; source fields must match exactly.
fix
Verify field names in the source data match mapping keys.
affects: >=1.0.0
deprecatedThe 'batchSize' option is deprecated and will be removed in v2.
fix
Use 'chunkSize' instead.
affects: >=1.0.0
breakingAPI key authentication is now required; anonymous access removed in v1.0.20.
fix
Provide a valid API key via 'target.apiKey'.
affects: >=1.0.20
Errors
Common errors & fixes
Error: Missing required field 'apiKey'
API key not provided in target configuration.
fix
Set 'target.apiKey' with a valid MSC HRIS API key.
TypeError: Cannot read properties of undefined (reading 'EmployeeID')
Mapping key not found in source data, possibly due to case mismatch.
fix
Ensure mapping keys exactly match the header names in the CSV file.
Upgrade
Version history
1.0.50latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
OpenAI (training)
1
Resources
hris-sync — npm install hris-sync · libregistry