add string separator
add node_modules to gitignore
new test for separators
accept functions as separators