readme, index.js fix, update gitignore, .editorconfig