2014年11月16个最好的JavaScript库
1. Nome
Nome (pronounced know me) is a JavaScript library that leverages the power of HTML5 geolocation and location data. This type of data isn’t normally exposed within a user session without signing up to multiple services and installing many large database files locally. Nome gives direct access to location and weather data from an exposed JavaScript API allowing you to create context driven websites that deliver information relevant to your audience.
2. Dropcap.js
Decorative initials, also known as drop capitals or “drop caps”, should be positioned on a baseline of the adjoining text; they should also be tall enough to reach the cap height of the first line of text.
Though drop caps are very common in magazines and books, they remain rare on the web. We believe this is because doing it right simply and reliably is too difficult. A simple CSS float:left on a ::first-letter pseudo-element is not enough. Dropcap.js makes beautiful drop caps easy for the web. We tested dropcap.js on Windows (IE10+, Firefox, Chrome) and OSX (Firefox, Chrome, Safari).
3. SweetAlert
Sweet Alert is a beautiful replacement for JavaScript Alert. SweetAlert automatically centers itself on the page and looks great no matter if you’re using a desktop computer, mobile or tablet. It’s even highly customizeable. It is released under MIT License.
4. Converse.js
Converse.js is a free and open source chat client that runs in your browser. It can be integrated into any website. Similar to 非死book chat but it also supports multi-user chatrooms. Converse.js can connect to any accessible XMPP/Jabber server, either from a public provider such as jabber.org, or one you have set up yourself. It’s possible to enable single-site-login, whereby users already authenticated in your website will also automatically be logged in on the chat server.
5. ProgressBar.js
ProgressBar.js is a beautiful and responsive progress bars with animated SVG paths. With ProgressBar.js, it’s easy to create arbitrary shaped progress bars. This library provides a few built in shapes like Line, Circle and Square but you can also create your own progress bars with Illustrator or any vector graphic editor.
6. Immutable.js
Immutable data cannot be changed once created, leading to much simpler application development, no defensive copying, and enabling advanced memoization techniques.
Immutable provides List, Stack, Map, OrderedMap, Record and Set by using persistent hash maps tries and vector tries as popularized by Clojure and Scala. They achieve efficiency on modern JavaScript VMs by using structural sharing and minimizing the need to copy or cache data. Immutable also provides a lazy Seq, allowing efficient chaining of collection methods like map andfilter without creating intermediate representations. Create some Seq with Range and Repeat.
7. Video Choice Engine (VCE)
The Video Choice Engine (VCE) is a small javascript library for showing interactive video adventures. Adventures are described with a short and clean json structure and can have multiple branches and return points. VCE is optimised for mobile devices and cross platform adventuring.
8. Blip
blip is a lightweight JavaScript library that wraps the Web Audio API, abstracting away the AudioContext, and simplifying node creation and audio routing. It also provides some extremely powerful and flexible methods for looping and manipulating samples that allow for both temporal precision and musical expressiveness.
9. bLazy
bLazy is a lightweight lazy loading image script. It lets you lazy load and multi-serve your images so you can save bandwidth and server requests. The user will have faster load times and save data loaded if he/she doesn’t browse the whole page.
10. Pegasus
Pegasus is a simple JavaScript solution to improve your average time to display data. Using this technique, you can reduce the time to display data in single page apps without touching the server.
It works in all major browsers and IE7+.
11. Triangloid
Triangloid is a JavaScript library that can trianglifies images and outputs as SVGs. It has been inspired and based on Trianglify.
12. JuliusJS
JuliusJS is a speech recognition library for the web.It actively listens to the user to transcribe what they are saying through a callback.
13. Franc
franc is a library to detect the language of text. It supports more languages than any other library, or Google.
14. Intro.js
Intro.js is a better way for new feature introduction and step-by-step users guide for your website and project.
15. Synaptic
Synaptic is a javascript neural network library for node.js and the browser, its generalized algorithm is architecture-free, so you can build and train basically any type of first order or even second order neural network architectures. This library includes a few built-in architectures like multilayer perceptrons, multilayer long-short term memory networks (LSTM) or liquid state machines, and a trainer capable of training any given network, which includes built-in training tasks/tests like solving an XOR, completing a Distracted Sequence Recall task or an Embedded Reber Grammar test, so you can easily test and compare the performance of different architectures.
16. Kefir.js
Kefir — is an FRP (functional reactive programming) library for JavaScript inspired by Bacon.js and RxJSwith focus on high perfomance and low memory consumption.
Kefir has GitHub repository, where you can send pull requests, report bugs, and have fun readingsource code.