Switch to `indexof`
Merge pull request #1 from niksy/indexof

Use `indexof` package