Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write library size in README #75

Closed
shaharmor opened this issue Mar 15, 2017 · 1 comment
Closed

Write library size in README #75

shaharmor opened this issue Mar 15, 2017 · 1 comment
Assignees

Comments

@shaharmor
Copy link

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

@medikoo medikoo self-assigned this Mar 16, 2017
@medikoo
Copy link
Owner

medikoo commented Mar 16, 2017

@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

@medikoo medikoo closed this as completed Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants