4 ms·
I went ahead and made an SDK https://www.npmjs.com/package/left-pad-io-js-sdk https://www.npmjs.com/package/left-pad-io-js-sdk
by supjeff 11y ago
I went ahead and made an SDK https://www.npmjs.com/package/left-pad-io-js-sdk https://www.npmjs.com/package/left-pad-io-js-sdk
- noiv 11y agoThe try in browser fails with an unexpected token syntax error. Do you accept PRs?
- Hortinstein 11y agoI submitted a pull req to fix them...and added some tests. Sarcastic programming is fun!
- Hortinstein 11y agoyeah, I added some tests...did you mean to return strings? Also fixed some syntax errors
- mirekrusin 11y agoI think you should think ahead and change it to "any-pad" or something similar and offer adapters/plugins. What are users of your library do when some industry-disrupting startup comes in offering left- and mid- pads? Changing your npm shouldn't be a problem, just unpublish it and create new one. Also don't forget to check trademark list before creating npm because "they will come knocking on your doors closing all your accounts".