This is a super-simple promise-based keyval store implemented with IndexedDB, originally based on async-storage by Mozilla. It's small and tree-shakeable. If you only use get/set, the library is 295 bytes (brotli'd), if you use all methods it's 573 bytes. localForage offers similar functionality, but supports older browsers with broken/absent IDB implementations. Because of that, it's orders of ma
Workbox is a powerful library originally developed by members of Chrome's developer relations team to facilitate the creation of Progressive Web Apps and to improve the offline experience of web applications. It offers a suite of tools and strategies for efficiently caching and serving web assets, managing service workers, and handling offline scenarios. Workbox simplifies the implementation of co
22 March 2024 Hey there, this is the current maintainer of BrowserFS. I've been working on BrowserFS for over a year now, and have made some big improvements. A few months ago, I began seperating some backends from BrowserFS to be placed into different packages. Along with this, I created the browser-fs organization on Github and the browserfs organization on NPM. I made new organizations to keep
Basic Usage With baffle installed, getting started is as simple as calling baffle() with some DOM elements. Those elements can be in the form of a CSS selector, a NodeList, or a single Node. You can also pass an options object. baffle operates on node.textContent, so it will flatten any child elements. It's best used on elements without children. // With a CSS selector let b = baffle('.headline');
Open Graph, Twitter Card, and oEmbed Metadata Collector metaphor uses three web protocols to obtain information about web resources for the purpose of embedding smaller versions of those resources in other web resources or applications. It is very common for applications to expand links into a formatted preview of the link destination. However, obtaining this information requires using multiple pr
注意 これは、Vue 3 で動作する Vuex 4 のためのドキュメントです。Vue 2 で動作する Vuex 3 のドキュメントをお探しの方は、こちらをご覧ください。 Vuex は Vue.js アプリケーションのための 状態管理パターン + ライブラリです。 これは予測可能な方法によってのみ状態の変異を行うというルールを保証し、アプリケーション内の全てのコンポーネントのための集中型のストアとして機能します。 "状態管理パターン"とはなんですか? #単純な Vue で作られたカウンターアプリをみてみましょう: const Counter = { // state data () { return { count: 0 } }, // view template: ` <div>{{ count }}</div> `, // actions methods: { increment ()
Taming requestAnimationFrame and requestIdleCallbackWhen Paul Irish wrote requestAnimationFrame Scheduling For Nerds I’ve decided to create a tiny utility called Scheduled on Browser and this post goal is to quickly explain why that would most likely benefit your current project too. Duplicated schedules are uselessI’ve used requestAnimationFrame since its early prefixed days and in various projec
CodeceptJS is opensource MIT licensed testing framework. Works with your favorite frontend frameworks → Scenario Driven Write acceptance tests from user's perspective. Make tests readable and easy to follow. Driver Agnostic Run your tests via Playwright, WebDriver, Puppeteer, TestCafe, Protractor, Appium. The code is the same. Learn More
DynamoDBのようなスループットを気にする必要があるAPIにアクセスする場合、API実行に実行回数制限をかけたくなる場合があります。npmに沢山ライブラリが公開されていますが、Promise関数にレートリミットを付与したクロージャーを返す実装を書いて使うことにしました。 例えばあるPromiseを返す関数の実行を秒間20回に制限したい場合、次のように書くと設定値を超える回数の実行をsleepで調整します。 rateLimit関数では結果的に引数の関数を実行するクロージャーを返しているので、関数の使い方は変わりません。 // ES2015以外のPromiseライブラリでも動作可 // import Promise from 'bluebird'; const delay = (ms) => { return new Promise((resolve) => { setTimeout(re
Aurelia 1.0 is Here!!! Posted by Aurelia on July 27th, 2016. It's been an amazing journey to get here and it couldn't have happened without the feedback of thousands of community members, the contributions from hundreds of developers and the guidance of our core team. It's a special day in the history of our project. Today I'm proud to announce the official Aurelia 1.0 Release! What is it? Perhaps
Ember.js 2.7, a minor version release of Ember with backwards compatible changes, is released today. Ember.js 2.8 beta is also being released today. This branch will be released as stable in roughly six weeks and will then go on to be the next LTS release roughly six weeks after that. Changes in Ember.js 2.7 Ember 2.7 introduces one new backward compatible API: Ember.computed.uniqBy In general, th
Popular frontend frameworks - like Angular, React and Vue - use a reactivity system to automatically update the view when the state changes. This is necessary for creating modern web apps and staying sane at the same time. The Observer Utililty is a similar reactivity system, with a modern twist. It uses ES6 Proxies to achieve true transparency and a 100% language coverage. Ideally you would like
Introduction What is this library ? ObjectModel intends to bring strong dynamic type checking to your web applications. Contrary to static type-checking solutions like TypeScript or Flow, ObjectModel can also validate data at runtime: JSON from the server, form inputs, content from local storages, external libraries... By leveraging ES6 Proxies, this library ensures that your variables always matc
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く