Structured Objects is lightweight and powerful library for handling object in JavaScript/TypeScript in different types of data structures.
nodeValues
: Array of objects to be converted in nodes of the graph.keyExtractor
: Function that generates a key for each node.
length
: Returns the length of the object graph.
get
: Returns a node of the object graph.getAll
: Returns all nodes of the object graph.copy
: Returns a copy of the original object graph.add
: Adds a node to the object graph.toAdded
: Returns a copy of the original object graph with a received node added.update
: Updates a node in the object graph.toUpdated
: Returns a copy of the original object graph with a received node updated.remove
: Removes a node to the object graph.toRemoved
: Returns a copy of the original object graph with a received node removed.valuesOf
: Returns all values of the provided property.match
: Returns all nodes that match with the provided matcher.