ParentFull threadPako·Definitely not as concise as your PHP impl but meh https://gist.github.com/MagnificentPako/b67b081d5cac0d0185ef...View on HN