readme: add docs

Continued from #2

cc @rlidwka
Do we know if `npm` will use the same algorithm to make the anchors?