TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Best way to install JS?

1 点作者 logvol将近 12 年前
The SaaSquatches over at Referral SaaSquatch want to know what the best way is to get a JS library installed.<p>A bunch of companies like us rely on a javascript library being installed as part of the setup process, for example: KissMetrics, Intercom, MixPanel and Olark to name a few.<p>How do we make installing the javascript library as easy as possible?<p>Besides providing a copy-paste snippet, good documentation, and follow up emails, is there anything that we&#x27;re missing? In your experience, what has made installing a javascript library an enjoyable experience?

2 条评论

kellros将近 12 年前
Well, consider a starter kit (install script to copy&#x2F;paste) vs. being spoon fed (integration into other software to reduce installation to a simple product flag with optional configuration). A lot of people still prefer using JS libraries directly, specifically for development purposes instead of using a CDN.<p>At this moment I&#x27;m not entirely sure what your JS library does, but if it can be referenced locally, then it would be worthwhile to allow grabbing it via npm&#x2F;nuget&#x2F;similar package managers.
mdu将近 12 年前
Take a look at <a href="http:&#x2F;&#x2F;bower.io" rel="nofollow">http:&#x2F;&#x2F;bower.io</a> while you are at it.