medikoo / memoizee

Complete memoize/cache solution for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write library size in README

shaharmor opened this issue · comments

Hi,

It would be great if the size of the library will be listed in the README for users that want to use it in the browser

@shaharmor library size in browser depends on what functionalities you want to use.
e.g. you can take all of them with:

var memoize = require('memoizee');

Or just pick ones you want to use with:

// Take just base functionality
var memoize = require('memoizee/plain');

// Load 'max' extension
require('memoizee/ext/max');

Therefore there's no one answer to that. It will require some configurable generator, which I'm not sure if is really that important feature, taking into account amount of work it may need.

At this point I'm going to close it, as it's not possible to solve it well without significant amount of work, and that seems not justifiable