Skip to content

Function: loadDeviceProfiles() ​

ts
function loadDeviceProfiles(dir): Promise<DeviceProfile[]>;

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

Load every *.json profile in a directory. Profiles may extend each other and the built-ins, in any order.

Parameters ​

dir ​

string

Returns ​

Promise<DeviceProfile[]>

Released under the MIT Licence.