fix whitespace
add npm test for analysis