fix some bugs and update style
use tape
update deps
ran npm init
update docs and example
1.0.0