Displaying 1 to 14 from 14 results

jsdom - A JavaScript implementation of the WHATWG DOM and HTML standards, for use with node.js

  •    Javascript

jsdom is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js. In general, the goal of the project is to emulate enough of a subset of a web browser to be useful for testing and scraping real-world web applications.As of v10, jsdom has a new API (documented below). The old API is still supported for now; see its documentation for details.

jsdom - A JavaScript implementation of the WHATWG DOM and HTML standards, for use with node.js

  •    Javascript

jsdom is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js. In general, the goal of the project is to emulate enough of a subset of a web browser to be useful for testing and scraping real-world web applications. As of v10, jsdom has a new API (documented below). The old API is still supported for now; see its documentation for details.

wpt - Test suites for Web platform specs — including WHATWG, W3C, and others

  •    HTML

The web-platform-tests Project is a W3C-coordinated attempt to build a cross-browser testsuite for the Web-platform stack. Writing tests in a way that allows them to be run in all browsers gives browser projects confidence that they are shipping software that is compatible with other implementations, and that later implementations will be compatible with their implementations. This in turn gives Web authors/developers confidence that they can actually rely on the Web platform to deliver on the promise of working across browsers and devices without needing extra layers of abstraction to paper over the gaps left by specification editors and implementors. Clone or otherwise get https://github.com/web-platform-tests/wpt.

html-element-attributes - Map of HTML elements to allowed attributes

  •    Javascript

Map of HTML elements to allowed attributes. Also contains global attributes under '*'. Includes attributes from HTML 4, W3C HTML 5, and WHATWG HTML 5.Note: Includes deprecated attributes.




html-tag-names - List of known HTML tag-names

  •    Javascript

List of known HTML tag-names. Includes ancient (for example, nextid and basefont) and modern (for example, shadow and template) tag-names from both W3C and WHATWG.The repo includes a script to crawl W3C and WHATWG to include newly introduced tag-names.

html-void-elements - List of known void HTML elements

  •    Javascript

List of known void HTML elements. Includes ancient (for example, nextid and basefont) and modern (for example, img and meta) tag-names from both W3C and WHATWG.Note: there’s one special case: menuitem. W3C specifies it to be void, but WHATWG doesn’t. I suggest using the void form.

html-tags - List of standard HTML tags

  •    Javascript

It's just a couple of JSON files that can be used in any environment.It intentionally leaves out obsolete tags.

channel - CSP style channel implementation, for the Channel specification

  •    Javascript

This library is a reference implementation of CSP style channels. If you are not familiar with channels and do not have time to read the paper at least take 30 minutes to watch Rob Pike's talk that is a really good introduction. A key characteristic of channels is that they are blocking (not in a thread blocking sense, but rather in logical sense, you need to asynchronously wait to continue). In the most primitive form, an unbuffered channel acts as a rendezvous, any consumer will await a producer and vice-versa. Buffering can be introduced, but unbounded buffering is discouraged, as bounded buffering with blocking can be an important tool coordinating pacing and back pressure, ensuring a system doesn't take on more work than it can achieve.


obtain-unicode - implementation of convert a DOMString to a sequence of Unicode characters at http://www

  •    Javascript

implementation of convert a DOMString to a sequence of Unicode characters at http://www.w3.org/TR/WebIDL/#dfn-obtain-unicode and shim for String.fromCodePoint()

URL - isomorphic url implementation.

  •    HTML

implementation of https://url.spec.whatwg.org/ in pure javascript. polyfill for browser, and implemnt for node.js. make url handling isomorphic.

URLSearchParams - implementaion of URLSearchParams at WHATWG Living Standard https://url

  •    TypeScript

implementation of URLSearchParams of https://url.spec.whatwg.org/ in pure javascript. polyfill for browser, and implemnt for node.js. make it isomorphic. and also open test/index.html in your browser and see console.

utf8-encoding - utf8 encoder/decoder of whatwg Encoding Living Standard https://encoding

  •    TypeScript

utf8 encoder/decoder of whatwg Encoding Living Standard https://encoding.spec.whatwg.org/

event-target-shim - An implementation of WHATWG EventTarget interface, plus few extensions.

  •    Javascript

An implementation of WHATWG EventTarget interface, plus few extensions. Use npm to install then use a bundler.