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

Make polka ultra light weight #127

Open
ASaiAnudeep opened this issue Feb 2, 2020 · 4 comments
Open

Make polka ultra light weight #127

ASaiAnudeep opened this issue Feb 2, 2020 · 4 comments

Comments

@ASaiAnudeep
Copy link

When polka package is published to npm, it includes the readme file which weights around 22 kB.

https://github.com/lukeed/polka/blob/master/packages/polka/readme.md

Moving this documentation to GitHub Wiki or some other place would reduce the unpacked size from 25.5 kB to 4.31 kB.

Update readme to include minimal details & add external references to the much more detailed documentation.

Thanks for this awesome package.

@leeoniya
Copy link

leeoniya commented Feb 2, 2020

does npm still pull the readme from the linked repo if one is not in the package? i personally find it convenient to read the docs directly on npm when browsing/evaluating libs - saves a lot of clicks.

@lukeed
Copy link
Owner

lukeed commented Feb 2, 2020

Hey there,

Thanks for the suggestion and kind words. I've definitely wanted to do this in the past to help highlight how small it truly is, but I'm also like @leeoniya and look at readmes thru npm very often.

My game plan is to finish up a docs site for Polka 1.0 and link to that within the readme. That way it's a better set of docs (instead of the current massive wall of text) and it's only one click to get there. A readme would still exist but it'd be very little.

What do you think?

@lukeed
Copy link
Owner

lukeed commented Feb 2, 2020

This would also be the case for Polkadot

@ASaiAnudeep
Copy link
Author

That would be great!

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

3 participants