JSPM

hiernodejs

0.1.10
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q18907F
  • License MIT

A hierarchical node (tree like) data structure library for JavaScript.

Package Exports

  • hiernodejs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hiernodejs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

        ___  __        __   __   ___       __  
|__| | |__  |__) |\ | /  \ |  \ |__     | /__` 
|  | | |___ |  \ | \| \__/ |__/ |___ \__/ .__/ 
                                             

TODO

  • [COMPLETED] function PropertySearchVisitor(PropertyName, PropertyValue)

    • A visitor object that collects nodes where the PropertyValue is found within the property PropertyName.
  • function BuildPath( KeyProperty, Delimiter = '/' )

    • Builds a delimited path to this node from the root. The resulting path will be constructed using the KeyProperty property and will contain a leading delimiter.
  • function ParsePath( KeyProperty, Path, Delimiter = '' )

    • Returns the node designated by the given Path. If the Delimiter is blank, the Delimiter will be auto-detected from the first character of the Path.
  • function DescendentsToArray()

    • Flattens the hierarchy of descendents to an array.
  • function DescendentsFromArray( Array )

    • Rebuilds the hierarchy of descendents from an array.
  • Revert to VisitRelatives( ThisNode, RelativeType, Visitor )

    • Use wrappers for VisitParents, etc.
  • Other

    • More formal build tool (gulp or grunt?)
    • More formal testing tool (qunit?)
    • Support JSDoc
    • Use GitHub
    • Publish to Bower
    • Publish to NPM