Skip to content

Function: loadDeviceProfile() ​

ts
function loadDeviceProfile(source, options?): Promise<DeviceProfile>;

Defined in: netconf/src/devices/profile-loader.ts:29

Load one profile from a JSON file, a JSON string, or an already-parsed object.

Parameters ​

source ​

string | object

options? ​

ProfileLoadOptions = {}

Returns ​

Promise<DeviceProfile>

Throws ​

ProfileError

Released under the MIT Licence.