Sinon provides spies, stubs, and mocks. They’re all useful as fakes in tests. They come with essential differences for what they’re helpful in doing and how they work.
Test stubs are functions (spies) with pre-programmed behavior.
They support the full test spy API in addition to methods which can be used to alter the stub’s behavior.
As spies, stubs can be either anonymous or wrap existing functions. When wrapping an existing function with a stub, the original function is not called.
var stub = sinon.stub();
npm install sinon
Video for Sinon.JS https://www.youtube.com/watch?v=SvudHPTEsIk
Video.js is an open source library for working with video on the web, also known as an HTML video player VideoJS is an HTML5 Video Player with 3 core parts:
An embed code (Video for Everybody),
A pure HTML/CSS skin (video-js.css).
Loads any module format when running the ~15KB development build.
Loads ES modules compiled into the System.register module format for production with exact circular reference and binding support
Supports RequireJS-style map, paths, and bundles configuration.
Built with the ES Module Loader project, which is based on principles and APIs from the WhatWG Loader specification, modules in HTML and NodeJS.
Supports IE9+ provided a promises polyfill is available in the environment.
System.js however is a pretty good replacement for require.js. The config is robust, the bundling API is reasonable, and if you have dynamic loading scenarios, especially where you don't know the resources at bundling time, it's really a good client loader.
The above definition may be ambiguous, in simple terms, PhantomJS is a web browser without a graphical user interface.
Since PhantomJS is not usable when it comes to surfing the web, it has a whole set of features that developers love and use for many purposes.
Multiplatform, available on major operating systems: Windows, Mac OS X, Linux, and other Unices.
Pure headless (no X11) on Linux, ideal for continuous integration systems. Also runs on Amazon EC2, Heroku, and Iron.io.
Video for Phantom.Js https://www.youtube.com/watch?v=6Y3ugEFU0uU
Create.js is a comprehensive web editing interface for Content Management Systems. It is designed to provide a modern, fully browser-based HTML5 environment for managing content. Create can be adapted to work on almost any content management backend.
The user interface philosophy behind Create is simple: all content that you are allowed to change becomes editable, right there on the page you’re reading. Any modifications you make are retained in your browser and can be sent back to the CMS with a push of a button.
CreateJS is a suite of modular libraries and tools which work together to create interactive content on open web technologies via HTML5.
The libraries are designed to work completely independently, or mixed and matched.
EaselJS - Makes working with HTML5 canvas easy.
SoundJS - Lets you easily work with HTML5 audio
PreloadJS - Lets you manage and coordinate loading of assets
Mithril is used by companies like Vimeo and Nike, and open source platforms like Lichess.
Mithril supports browsers all the way back to IE9, no polyfills required.
Mithril gives you hierarchical MVC components (just like React), URL routing, customizable data binding, and safe-by-default templates with intelligent DOM difference checking for high-performance rendering.