Overview:
One of the main features of NPM for the JavaScript community is to help developers discover the libraries and frameworks needed in NPM Registry. NPM's powerful search capabilities help to find a set of related packages, while its built-in documentation and usage statistics help developers decide which package to use.
An important factor in the selection process is the continued support of the community for the package project: Is it actively being maintained? Is there a large enough community to sustain the project?
The popularity of software packages is an important consideration during the evaluation process. Whether it's a blog post or a tutorial, a package with a large community means that more developers can help you solve the problem. A large community also means that it is more likely to find a fix error before encountering an error. If you are a large team, then using popular software packages will also make it easier for you to recruit developers who are familiar with the software.
Using NPM's download statistics, you can let developers know how many people are using and maintaining packages. Once the package is added to the software, the package will have a very long lifespan, because once the developer installs the package, it is seldom removed from the package, and it is because of this very low "churn" that the installation package is rarely used. And as the number of NPM users continues to rise, the number of packages in NPM Registry is increasing.
When considering the popularity of packages, developers should be concerned about the relative popularity of packages, that is, the number of downloads of a package is the percentage of downloads for all packages in Registry, rather than the absolute growth rate of the package, since the absolute download volume of the package is increasing.
Registry's overall data
The sum of all the packages downloaded in NPM Registry shows that the NPM ecosystem is undergoing an explosion of continuous growth. JavaScript is becoming more popular, and NPM is being used by more JavaScript communities.
At present, about 75% of JavaScript developers are using NPM, and that number is rising, and there are now about 10 million NPM users.
Below we use the percentage of all software in the NPM Registry as a measure of the package.
Front End Frame
Below we analyze the most popular types of front-end frameworks:
Backbone
React/preact
Angular
Ember
Vue
Backbone
Backbone is one of the earliest JavaScript Web application frameworks. In the early 5 years, Backbone accounted for nearly 1% of NPM Registry downloads. But from 2013 onwards, the Backbone began to decline sharply, and has been continuously declining trend. Even so, Backbone still has 750,000 downloads a month, which is also a significant amount of usage.
React
As can be seen, React has experienced substantial growth since 2014. In the 2017, React has become the most Popular front-end framework. React is not a complete end-to-end solution for building WEB applications. React is a well-designed solution for the specific needs of the application. and React can easily provide a variety of alternative solutions for other parts of the application. Thanks to this modular nature, React has developed an ecosystem of related packages that can solve the problems of other parts of the application.
WEB developers are actively adopting React, while developers of other areas, such as mobile and desktop application development, are also using React.
preact
Preact is React's little brother, is an independent development of React substitutes. Compared to React,preact, the Legacy browser was sacrificed for compatibility with performance and size improvements. Although the overall utilization rate of preact is low, Preact has won the attention of many developers, while its future potential is not to be underestimated.
Angular
Angular is a complete framework that is a complete solution for building Web applications. Angular is the second most popular frame after React, twice times the popularity of Ember or Vue.
Angular is primarily built and maintained by Google. Although the relative prevalence of Angular in 2017 has not increased significantly, it has a huge community, Google's huge resources and continued support for it, so Angular is still worth the continued use of developers.
Ember
Ember is a complete framework of large companies, but it has no major corporate backers. From the NPM figures, Ember in 2016, and then gradually rose in 2017.
Vue
Vue was created by a former Google engineer who worked in Angular, roughly the same popularity as Ember, and Vue is slightly less than half the Angular in absolute popularity. Vue is growing much faster than Ember and Angular, and Vue is expected to surpass Ember in 2018 years.
2017 front-end framework situation
Shows the absolute popularity and growth of the frameworks for the 12-month period from October 2016 to October 2017. From the overall situation, the following conclusions can be obtained
Preact Although small, but the fastest development.
Vue is also growing at a very fast pace.
The popularity of Ember has risen in the past 12 months.
Backbone is no longer so popular.
When users move from 1.x to 2.x, the popularity of Angular remains the same.
JQuery is still very popular, but user usage is getting less.
React is both huge and fast growing.
JavaScript Development Tools recommended
The Spreadjs pure front-end Table control is a HTML5-based JAVASCRIPT spreadsheet and Grid feature control that provides complete formula engine, sorting, filtering, input controls, data visualization, Excel Import/export, and more for. NET, Java and mobile terminal, such as online editing of Excel functions of the table program development.
This article is the first in the 2017 JavaScript Framework review, followed by React Eco-environment introduction and back-end framework two articles, please look forward to.
Original link: https://www.npmjs.com/npm/state-of-javascript-frameworks-2017-part-1
Reproduced please specify from: Grape City control
about Grape City
The movable lattice is developed, marketed and provided with technical services by Grape City Company. Founded in 1980, Grape City is the world's leading software and service provider for development tools, business intelligence solutions, and management system design tools. Xi ' An grape city is its branch office in China, providing software research and development services for the global market, and providing international advanced development tools, software and research and development consulting services for the informatization of Chinese enterprises.
2017 JavaScript Framework review-front end framework