frms-coe-lib
/
2.1.0
frms-coe-lib 2.1.0
Install from the command line:
Learn more about npm packages
$ npm install @frmscoe/frms-coe-lib@2.1.0
Install via package.json:
"@frmscoe/frms-coe-lib": "2.1.0"
About this version
FRMS Center of Excellence package library.
A personal access token is required to install this repository. For more information read the following. https://docs.github.com/en/packages/learn-github-packages/about-permissions-for-github-packages#about-scopes-and-permissions-for-package-registries
Thereafter you can run
npm install @frmscoe/frms-coe-lib
// Import functionality and types
import { RedisConfig, CreateDatabaseManager, DatabaseManagerInstance, ManagerConfig, TransactionHistoryDB} from "@frmscoe/frms-coe-lib/lib";
// Populate the Config for redis and transactionHistory
const transactionHistoryManager: DatabaseManagerInstance<ManagerConfig> =
await CreateDatabaseManager({
redisConfig: {
db: 0,
host: "localhost",
password: "",
port: 6379,
},
transactionHistory: {
certPath: "/PATH/TO/CERT",
databaseName: "transactionHistory",
user: "admin",
password: "",
url: "https://arango.development",
},
});
// Execute redis/transactionHistory queries
await transactionHistoryManager.getTransactionPacs008('1234567890-4e48-8f50-fc52942b3425')
Details
- frms-coe-lib
- frmscoe
- about 1 year ago
- ISC
- 28 dependencies
Assets
- frms-coe-lib-2.1.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0