keys - nodef/extra-string GitHub Wiki

Get keys of string, like Object.keys().

const keys = require('@extra-string/keys');
// keys(<string>)

keys('ash');
// [0, 1, 2]
keys('');
// []

extra-string

⚠️ **GitHub.com Fallback** ⚠️