一些JavaScript的工具和实用程序
TestSwarm: Continious & Distributed JS Testing
TestSwarm
is an open source project by Mozilla Labs (and created by John Resig)
which aims to simplify the complicated and time-consuming process of
running JavaScript test suites in multiple browsers. It offers a
continious & distributed testing environment that can be used by
multiple users running the tests in various browsers with a
“set-and-forget” logic.Minimee
On
the Web, speed is important — so when it comes to CSS and JavaScript
files, size does matter. By automatically minimizing and combining your
files for you, Minimee takes the heavy lifting out of keeping your files
nice and clean. Minimee is an ExpressionEngine add-on only.Doctor JS
Doctor
JS is a tool which analyzes your JavaScript code. The tool tests how
well your code is written in regards to polymorphism, prototypes,
exceptions and callbacks. You might want to check out
JSLint as well.Remy Sharp’s JSConsole
A
JavaScript (and CoffeeScript) web console, useful for quick
experimentation, debugging, presentations (for live coding) and
workshops. Also available as a native iOS app from the iTunes store.JavaScript Library Boilerplate
Why
go through the tedium of creating both a closure AND a .noConflict
method when all you want to do is create your own JavaScript Library?
With JavaScript Library Boilerplate, you can hit the ground running and
create your own JavaScript Library in no timejsdoc-toolkit
JsDoc
Toolkit is an application, written in JavaScript, for automatically
generating template-formatted, multi-page HTML (or XML, JSON, or any
other text-based) documentation from commented JavaScript source code.Jasmine: BDD for your JavaScript
Jasmine
is a behavior-driven development framework for testing your JavaScript
code. It does not depend on any other JavaScript frameworks. It does not
require a DOM. And it has a clean, obvious syntax so that you can
easily write tests.ObfuscateJS: JavaScript compressor
The
obfuscator currently removes whitespace and comments. It renames
variablenames with a local scope to a shorter version, And as an
advanced option it renames all variables with a certain prefix to a
shorter name.Online JavaScript beautifier
This
beautifier will reformat and reindent bookmarklets, ugly javascript,
unpack scripts packed by the popular Dean Edward’s packer, as well as
deobfuscate scripts processed by javascriptobfuscator.com.PEG.js
PEG.js
is a parser generator for JavaScript based on the parsing expression
grammar formalism. It enables you to easily build fast parsers which
process complex data or computer languages. You can use it as an
underlying tool when writing various data processors, transformers,
interpreters, or compilers.JSONView
JSONView is a Firefox extension that helps you view JSON documents in the browser.jsPerf: JavaScript performance playground
jsPerf
aims to provide an easy way to create and share test cases, comparing
the performance of different JavaScript snippets by running benchmarks.JSonduit
JSonduit is a service that can turn practically anything on the web
into a JSON feed that any website or mobile app can consume.jsplumb
jsPlumb
provides a means for a developer to visually connect elements on their
web page, in much the same way you might have seen on Yahoo Pipes. It
uses Canvas in modern browsers, and Google’s ExplorerCanvas script for
stone-age browsers. The current version (1.2.5) can be used with jQuery,
MooTools and YUI3.Helma
Helma
is a server-side JavaScript environment and web application framework
for fast and efficient scripting and serving of your websites and
Internet applications.HTML + JSON Report
Online HTML5 JSON Report format to view any JSON data in a human-readable HTML view.JSON Editor
This
editor allows for easy editing of json strings, after loading a sample
from the dropdown list click ‘build tree’, expand the tree, click nodes
and start changing.JSCSSP, a CSS parser in JavaScript
JSCSSP
is a CSS parser written in cross-browser JavaScript. It parses a string
containing CSS styles and outputs a CSS Object Model (warning: not the
CSS Object Model). It can preserve some comments, at-rules and style
rules that your browser does not recognize and trashes, and even
whitespaces if you absolutely need to preserve indentation and blank
lines.原文地址:
http://www.smashingmagazine.com/2011/04/07/useful-javascript-and-jquery-tools-libraries-plugins/