ssbc / ssb-ref

check if a string is a valid ssb-reference
MIT License
14 stars 10 forks source link

add normalizeChannel helper for consistent indexing/display across clients #12

Closed mmckegg closed 7 years ago

mmckegg commented 7 years ago

I'm using this function in quite a few places, and it should really be consistent across clients, so I've added it to ssb-ref.

When merged, will be used in ssb-backlinks, patchwork, patchcore

Okay if I merge @clehner @dominictarr ?

mmckegg commented 7 years ago

Since no one has objected to this being merged, I'm going to go ahead and do it!