angus croll

Results 46 comments of angus croll

Thanks for this Ben! Is the `type` field redundant? (IIUC `.cjs` and `.mjs` suffixes support CJS and ESM syntax respectively with no exceptions)

Initial testing looks good. I can import .mjs on web and require .cjs in node. Only thing I'm not sure about is if we need `type` on package.json After that's...

Thanks for sharing your proposal! So this is really two enhancements? 1) limiting cache size 2) being able to cache by object key instead of string key. On (1) I...

Sorry for the delay! To be clear I think it's probably to restrict this PR to cache size limit. I like to keep just functions simple and with limited options...

Hey @EvandroLG! I would prefer just to not use map at all (or a polyfill). The problem is I want to support pre-map environments while also keeping the code short...

Maybe hold onto this plan for a short while. I'm thinking of allowing ES code soon, once I move to all ESM

Hi @lsbyerley. No there isn't but we accept PRs :) Otherwise I will try to get to it myself.

I like both of these. PRs welcome of I don't get to it myself.

Ha no my bad. I wrote it so long ago I forgot :) [Here are the guidelines](https://github.com/angus-c/just/blob/master/CONTRIBUTING.md) for creating new modules

Please see my reply here https://github.com/angus-c/just/issues/477 I'm not sure we should support this.