LinkeDOM is a triple-linked list based DOM-like namespace, for DOM-less environments, with the following goals: avoid maximum callstack/recursion or crashes, even under heaviest conditions. guarantee linear performance from small to big documents. be close to the current DOM standard, but not too close. import {DOMParser, parseHTML} from 'linkedom'; // Standard way: text/html, text/xml, image/svg+
const unified = require('unified') const { parser } = require('@geut/jsdast') const tree = unified().use(parser).parse(` /** * @param {number} a * @param {number} b * @returns {number} */ function sum(a, b) { return a + b } `) console.log(JSON.stringify(tree, null, 2)) /* { "type": "Root", "children": [ { "type": "Module", "name": "Index", "doc": { "description": "", "tags": [] }, "children": [ {
View a live demo in your browser here. Note: Version 0.0.13 is the old version of handtrack.js which tracks only hands and was trained on the egohands dataset. It is slightly more stable than the recent version v 0.1.x which is trained on a new dataset (still in active development) and supports more classes (open, closed, pinch, point, zoom etc.). You might see some issues with the new version (fe
Supports TrueType (.ttf), OpenType (.otf), WOFF, WOFF2, TrueType Collection (.ttc), and Datafork TrueType (.dfont) font files Supports mapping characters to glyphs, including support for ligatures and other advanced substitutions (see below) Supports reading glyph metrics and laying out glyphs, including support for kerning and other advanced layout features (see below) Advanced OpenType features
Photo by Vishal Jadhav on UnsplashHooks are a pattern, not something usable with React library only, and this post would like to explain, and walk through, some interesting possibility. What are hooks?Hooks are nothing more, and nothing less, than a wrap around a generic callback. The callback itself is not a hook, unless it’s being handled by a hook-helper, in this case provided by µhooks library
Feature-DrivenFull Stack JavaScript ComponentsNullstack is a web framework that makes coding fun again. Write the backend and frontend of a feature in a single isomorphic component with zero boilerplate or glue code. class WaifuCounter extends Nullstack { // runs in the server static async getWaifus({ database }) { const sql = "SELECT COUNT(*) FROM WAIFUS"; return database.query(sql); } // runs in
jsDocs.io is a documentation host for Javascript and Typescript packages published on npm
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く