rename doc npm command into api (s/doc/api/)