open-index/open-npm huggingface dataset:
npm package: @openbp/erp
Description: Library for inter-service communication with OpenBP erp module.
Author: Slamy Solutions
Latest version: 0.0.2

# OpenBP erp module library

This library is created for inter-service communication in the OpenBP.
You can only use this library for developing new OpenBP modules because it establishes a connection with services using internal communication protocols.
This will not work if you want to communicate with OpenBP from external application. For this use-case check `@openbp/sdk`.

## Basic usage
```ts
import { ERPStub } from '@openbp/erp'

// Creating services communication "proxy". This will only connect to the selected services
const stub = new ERPStub()
await stub.connect()

// Now you can communicate with erp services
const catalogs = []
await stub.services.core.catalog.GetAll({ useCache: true }).forEach((c) => catalogs.push(n))
console.log(catalogs)

// Dont forget to close connection
stub.close()
```
npm package: @openbp/native
Description: Library for inter-service communication with OpenBP native module.
Author: Slamy Solutions
Latest version: 0.0.4

# OpenBP native module library

This library is created for inter-service communication in the OpenBP.
You can only use this library for developing new OpenBP modules because it establishes a connection with services using internal communication protocols.
This will not work if you want to communicate with OpenBP from external application. For this use-case check `@openbp/sdk`.

## Basic usage
```ts
import { NativeStub, Service } from '@openbp/native'

// Creating services communication "proxy". This will only connect to the selected services
const stub = new NativeStub([Service.NAMESPACE])
await stub.connect()

// Now you can communicate with native services
const namespaces = []
await stub.services.namespace.GetAll({ useCache: true }).forEach((n) => namespaces.push(n))
console.log(namespaces)

// Dont forget to close connection
stub.close()
```
npm package: @openbp/runtime
Description: Library for inter-service communication with OpenBP runtime module.
Author: Slamy Solutions
Latest version: 0.0.4

# OpenBP runtime module library

This library is created for inter-service communication in the OpenBP.
You can only use this library for developing new OpenBP modules because it establishes a connection with services using internal communication protocols.
This will not work if you want to communicate with OpenBP from external application. For this use-case check `@openbp/sdk`.

## Basic usage
```ts
import { ERPStub } from '@openbp/runtime'

// Creating services communication "proxy". This will only connect to the selected services
const stub = new ERPStub()
await stub.connect()

// Now you can communicate with runtime services
const runtimes = []
await stub.services.manager.core.GetAllRuntimes().forEach((r) => runtimes.push(r))
console.log(runtimes)

// Dont forget to close connection
stub.close()
```