This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
2
Modern best practices for an open-source library?
Post Body
Hey all,
I'm working on an open source data-sciency library. It's been a little while since I've done a big JS project not for the web, and I was wondering what the current best practices and tools were considering the following:
- Library should be available both in the browser context and in node.
- Library will be object-oriented with a few different classes -- what are the current best practices around modules and module loading?
- Namespacing: how are people doing it these days?
- Test coverage: will need 100% unit test coverage, though I'm probably not too interested in BDD. Since it's a data science library I'll need to make sure the maths, algorithms, and edge cases are tested.
- Publishing: bower? NPM? Both?
- Documentation: are there good documentation generator tools that read from docblocks and render to markdown out there?
- What do you guys appreciate and want to see in an open source library?
And of course any other advice you wish to share would be helpful!
Author
Account Strength
100%
Account Age
14 years
Verified Email
Yes
Verified Flair
No
Total Karma
32,221
Link Karma
1,892
Comment Karma
30,251
Profile updated: 6 days ago
Posts updated: 9 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 10 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/javascript/...