Issue #28

Number 3 this week, ncc is a new tool created by the Zeit team to compile a Node.js project and all its dependencies into a single JavaScript file.

It can be useful when deploying applications to serveless environments (such as AWS Lambda or Azure Functions) to avoid uploading a deep tree of node_modules files that contain a lot of irrelevant files (documentations, tests…) and thus can be very heavy.

As an example, the GraphQL server example mentioned in the blog entry is compiled into a file that is 35 times smaller than the original files.

A bundler like Webpack or Rollup could accomplish a similar task but ncc does not require any configuration and supports TypeScript out of the box.

Vue.js
Vue.js
+717 β˜…
πŸ–– A progressive, incrementally-adoptable JavaScript framework for building UI on the web.
ncc
ncc
+618 β˜…
Node.js Compiler Collection
LearnGitBranching
LearnGitBranching
+597 β˜…
An interactive git visualization to challenge and educate!
30 seconds of code
30 seconds of code
+461 β˜…
Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less.
React
React
+446 β˜…
A declarative, efficient, and flexible JavaScript library for building user interfaces.
You Don't Know JS
You Don't Know JS
+392 β˜…
A book series on JavaScript. @YDKJS on twitter.
jsPDF
jsPDF
+391 β˜…
Client-side JavaScript PDF generation for everyone.
Awesome
Awesome
+391 β˜…
Curated list of awesome lists

Any question or feedback? Reach us on GitHub.

Best of JavaScript is a project created by Michael Rambeau, made in Osaka, Japan.