Hello,
I noticed this project depends on https://npmx.dev/package/array-last but array-last can be simply replaced by a micro-utility if this project used node 16.6.0 later we could use arr.at(-1) but as it uses node 4 equal or later we could use arr[arr.length - 1]
If you guys think it makes sense I'm available to create a PR for this as far as I could see most of the uses cases are for the const xp= last(state.expensaion) that we can for example do it like const xp = state.expansion[state.expansion.length - 1];
Thanks