0.4.8 • Published 1 year ago

@tum-far/ubii-topic-data v0.4.8

Weekly downloads
2
License
-
Repository
github
Last release
1 year ago

ubii-topic-data

Table of Contents

Topic Data

A Topic Data is a key-value store. Keys are specified as Topic strings and values can be arbitrary data.

Runtime Topic Data

The RuntimeTopicData is a runtime implementaion of a topicData. "Runtime" means the data is only available at runtime and is not permanently stored in a persistent medium such as a local file or a database. The data lives only in the program memory.

The RuntimeTopicData uses a common javascript object as storage structure that resembles the topic hierarchy. This is a very performant way to find key-value pairs.

Topic

A Topic is simple string indicating a chain of topics that are in a parent-child relation. Childs can be seen as subtopics of the previous one. The individual (sub-)topics are separated by a special character ("->").

The follwoing string is an example for a valid Topic:

valid = 'root->subtopic1->subtopic2->subtopic3->subtopic4';

CLIs

Tests

  • Run npm test to process all standard tests. See the Testing section for more details on tests.

Testing

  • This module uses the AVA test runner.
  • You can add new tests to the test folder. Entry point for the test runner is test.js within the test folder. See the AVA Documentation for more details on how to create new test cases for AVA.
0.4.8

1 year ago

0.4.7

1 year ago

0.4.6

2 years ago

0.4.5

2 years ago

0.4.4

3 years ago

0.4.3

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.4.2

3 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.7

4 years ago

0.3.4

4 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.1.0

5 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago