JavaScript library
A JavaScript library is a library of pre-written JavaScript code that allows for easier development of JavaScript-based applications,[1] especially for AJAX and other web-centric technologies.[2] They can be included in a website by embedding it directly in the HTML via a script tag.
Libraries
With the expanded demands for
Almost all JavaScript libraries are released under either a permissive or copyleft license to ensure license-free distribution, usage, and modification.[9]
Frameworks
Some JavaScript libraries, such as
Packages
All npm packages are JavaScript libraries, but not all libraries are packages. Npm originally stood for "Node Package Manager", as the name implies, npm serves as a package manager for packages used in Node.js runtimes.[12][13] However, some npm packages offer CDN support for use of the library in both Node.js runtimes as well as the browser.[14]
See also
- Ajax framework
- Widget toolkit
- List of JavaScript libraries
- Comparison of JavaScript frameworks
References
- ISBN 9781491948620.
- ^ "What is a JS library?". Khan Academy. Retrieved 2018-01-15.
- ^ Peters, Siem (2019-04-08). "A Brief History of JavaScript: from Netscape to Frameworks". Medium. Retrieved 2022-03-15.
- ^ AsyncBanana (2021-04-21). "A Short History of JavaScript and Its Evolution". Medium. Retrieved 2022-03-15.
- ISBN 9780470417997.
- ISBN 9780470977361.
- ^ Walsh, David (2007-09-05). "6 Reasons To Use JavaScript Libraries & Frameworks". David Walsh Blog. Retrieved 2022-03-15.
- ^ "40 Useful NPM Packages for Node.js Apps in 2021". leanylabs.com. Retrieved 2022-03-15.
- ISBN 9781449395926.
- ^ "The Difference Between a Framework and a Library". freeCodeCamp.org. 2019-02-01. Retrieved 2022-03-15.
- ^ "What is the difference between Library vs Framework?". DEV Community. Retrieved 2022-03-15.
- ^ "A Clear Definition of npm and What it Does". CSS-Tricks. 2022-01-20. Retrieved 2022-03-15.
- ^ "Node.js NPM". www.w3schools.com. Retrieved 2022-03-15.
- ^ Grosselle, Alessandro (2019-11-12). "The JS library distribution dilemma, NPM or URL?". THRON tech blog. Retrieved 2022-03-15.