ES2015+
I recommend translating the syntax to ES6. This way the code is way more readable, maintainable and makes use of some new features like Maps (for localisation), module imports and exports (for code splitting, module bundling and tree shaking) and many more. If you are interested, I could start working on implementing it.
If you are interested, I could start working on implementing it.
👍
@pid For you information: I already started working on this one. My plan is to clean up the internal structure without changing the public API in any way. This could be done in the second step. So I would tackle locals in a separate issue.
can be created from https://github.com/pid/speakingurl/pull/108 its allready done
const {getSlug} from 'spea...