Skip to content
home@dennisPersonal Website of Dennis Plöger
  • Home
  • Blog
  • Artist
  • Impressum
  • Datenschutzerklärung

Proper hierarchy management for Node, Typescript and the Browser

3. September 2017 0 comments Article Allgemein

You probably know these times, where you look at an old project (even if it’s just a year old) and get the urge for refactoring – or even rewriting.

Socko is such a project. Socko was crafted together in a short time, refactored to at least make it a bit more manageable and released. Now, after some time, I went to Typescript for most of my projects because of the much clearer and understandable code it produces.

So, I’m planning a Socko rewrite somewhen.

As a first step, I released the future Socko’s core feature as a separate module called js-hierarchy.

To get you on track: Socko brings together file snippets in a hierarchical manner: If a snippet isn’t defined in the deepest node, the tree is walked up until the snippet is found. So, as you can see, easy and understandable management of a digital hierarchy is quite a key component of Socko.

But it shouldn’t only be for Socko. Especially as I can not find a modern tree/hierarchy-management module up on NPM.

And that’s just, what js-hierarchy is. It is a very easy and extendable hierarchy management module, that is available for Node, Typescript and the Browser. Grab your copy on npm or from a cdn and have fun managing trees and hierarchies.

It is transpiled into ES6, so most modern browsers should work. That’s even tested and shown in a nifty browser chart using the services of SauceLabs, who provide free multi-browser tests for OpenSource projects. So, thanks, guys.

Schreibe einen Kommentar Antwort abbrechen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre, wie deine Kommentardaten verarbeitet werden.

Neueste Beiträge

  • Making Puppet host reports in Foreman available in Grafana
  • Introducing Handler Inspector
  • Github Action for the Godot Asset library
  • Announcing EgoVenture
  • The third installment of my learning project

Schlagwörter

administration apache blog configuration configuration management development dhcp disclaimer django documentation dokuwiki extension footer hammerspoon java javascript jslint keyboard lbows linux log migration milter news php plugin printer python rest rhino server shortcut skd soap social ssh survey twitter ubuntu vmware website window management zimbra zimlet zimlets

Meta

  • Anmelden
  • Eintrags-Feed
  • Kommentar-Feed
  • WordPress.org

Neueste Beiträge

  • Making Puppet host reports in Foreman available in Grafana
  • Introducing Handler Inspector
  • Github Action for the Godot Asset library
  • Announcing EgoVenture
  • The third installment of my learning project

Schlagwörter

administration apache blog configuration configuration management development dhcp disclaimer django documentation dokuwiki extension footer hammerspoon java javascript jslint keyboard lbows linux log migration milter news php plugin printer python rest rhino server shortcut skd soap social ssh survey twitter ubuntu vmware website window management zimbra zimlet zimlets

Meta

  • Anmelden
  • Eintrags-Feed
  • Kommentar-Feed
  • WordPress.org

Copyright (c) Dennis Plöger | Theme by ThemeinProgress | Proudly powered by WordPress

Zum Ändern Ihrer Datenschutzeinstellung, z.B. Erteilung oder Widerruf von Einwilligungen, klicken Sie hier: Einstellungen