Color Thief Grab colors from any image or video. 13,000+ GitHub stars · 7M+ annual npm downloads by Lokesh Dhakar
// string constructor const color = Color('rgb(255, 255, 255)') // { model: 'rgb', color: [ 255, 255, 255 ], valpha: 1 } const color = Color('hsl(194, 53%, 79%)') // { model: 'hsl', color: [ 195, 53, 79 ], valpha: 1 } const color = Color('hsl(194, 53%, 79%, 0.5)') // { model: 'hsl', color: [ 195, 53, 79 ], valpha: 0.5 } const color = Color('#FF0000') // { model: 'rgb', color: [ 255, 0, 0 ], valpha
Dinero.js lets you create, calculate, and format money safely in JavaScript and TypeScript. dinerojs.com Money is complex, and the primitives of the language aren't enough to properly represent it. Dinero.js is a JavaScript library that lets you express monetary values, but also perform mutations, conversions, comparisons, formatting, and overall make money manipulation easier and safer in your ap
Artwork by Mike Sgier Johnny-Five is an Open Source, Firmata Protocol based, IoT and Robotics programming framework, developed by the Nodebots Community. Johnny-Five programs can be written for Arduino (all models), Electric Imp, Beagle Bone, Intel Galileo & Edison, Linino One, Pinoccio, pcDuino3, Raspberry Pi, Particle/Spark Core & Photon, Tessel 2, TI Launchpad and more! Johnny-Five has grown fr
Features get and set value and unmasked value easily no external dependencies supports overwrite mode supports all major browsers supports web components supports contenteditable RegExp mask Function mask Number mask (integer and decimal support) Date mask (with various format support and autofix mode) Dynamic/on-the-fly mask Pattern mask show placeholder always or when needed unmasked value can c
line-wrapping, text-alignments (left, right, centered, justified), numbered and bulleted lists, tables and columns auto/fixed/star-sized widths, col-spans and row-spans, headers automatically repeated in case of a page-break, snaking columns (newspaper-style layout where content flows column-to-column), images and vector graphics, convenient styling and style inheritance, page headers and footers:
<div id="capture" style="padding: 10px; background: #f5da55"> <h4 style="color: #000; ">Hello world!</h4> </div> html2canvas(document.querySelector("#capture")).then(canvas => { document.body.appendChild(canvas) });
Million.js: Virtual DOM into the future. Million.js is a lightweight 1kb Virtual DOM and is a drop-in replacement for React! Million.js has now its own domain: https://millionjs.org Special thanks to folks from js.org domain who provide a great service for the JavaScript community by maintaining the js.org domain. Visit millionjs.org Redirect me next time
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く