@plasma-platform/tm-service-properties

SDK for properties service

Usage no npm install needed!

<script type="module">
  import plasmaPlatformTmServiceProperties from 'https://cdn.skypack.dev/@plasma-platform/tm-service-properties';
</script>

README

Documentation

Table of Contents

PropertiesService

Properties Micro Service API that you may adopt for your needs

Parameters

messages

Object with class service messages

Type: Object

get

Get properties list

Examples

Read properties list

(async () => {
  const propertiesService = new PropertiesService('https://api.templatemonsterdev.com/properties/v1/');
  const list = await propertiesService.get();
})();

Returns PropertiesList array of properties

details

Get specific propertie

Parameters

Examples

Get propertie

(async () => {
  const propertiesService = new PropertiesService('https://api.templatemonsterdev.com/properties/v1/');
  const details = await propertiesService.details('softwareRequired');
})();

Returns Propertie propertie

Array

Properties list object

Type: PropertiesList

Properties

Propertie

Propertie object

Type: Propertie

Properties