A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Super fast, all natural JSON logger for Node.js
先日、Storybook のストーリーを、Puppeteer を使って自動でスクリーンショットを撮影する Addon を作りました。まだ React のサポートのみだったり、API がまだ不十分だったりしますが、簡単に使い方と仕組みについて紹介していきたいと思います。 はじめにまず、Puppeteer が何者かという点は、以下の記事が大変参考になるため、ここでは触れません。 —headless 時代の本命? Chrome を Node.js から操作するライブラリ puppeteer について - Qiita 今回作った Addon は、上記 Puppeeer を使って、任意のストーリーのスクリーンショットを取るためのものになります。 スクリーンショットを取るためのモチベーションは色々と考えられますが、ここでは開発時に使用している既存のストーリーを活用して、最小限の労力で Visual T
Devdecks.io migration to TinyTechTuts.com 02-05-2024
Tesseract.js is a pure Javascript port of the popular Tesseract OCR engine. This library supports more than 100 languages, automatic text orientation and script detection, a simple interface for reading paragraph, word, and character bounding boxes. Tesseract.js can run either in a browser and on a server with NodeJS. Check out the Example code and API docs on GitHub.
なんかややこしい解説が多いが、そんなに難しい話ではない。 1. exports = module.exports = {} が予め実行されていて、 2. 最終的に評価されるのは module.exports ということ。 心配だったら常に module.exports を使えば OK だし、(正しく記述されているコードを)読む時は全部脳内で module.exports と読み替えてしまって良い。 じゃあどこで差が出るのか、なんでややこしい解説がされてるのか。 exports = なんたら という式は、exportsの中身をごっそり入れ替えてしまうので、exports == module.exportsの関係が壊れる。 exports.hoge = 1 はこの関係を崩さない。 歴史的経緯によれば(ぶっちゃけ想像ですが)もともとは exports しか無かった。つまり、 という形の使い方しか
Sails makes it easy to build custom, enterprise-grade Node.js apps. Build practical, production-ready Node.js apps in a matter of weeks, not months. Sails is the most popular MVC framework for Node.js, designed to emulate the familiar MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps: data-driven APIs with a scalable, service-oriented architecture.
How does it work? Inputs watch log files for changes, send new log messages to the server, which broadcasts to web clients. Log messages are tagged with stream and source information based on user configuration. log.io has no persistence layer. File inputs are informed of file changes via inotify, and log messages hop from input to server to web client via TCP and socket.io, respectively. Simple T
Curious about the ETH to USD conversion rate? Experts predict a significant surge in Ethereum’s…
Watch on YouTube: youtu.be/p-okATNto7Y Don't Panic! The Installer Trifecta Series HelloNode (example app) How to create an OSX (pkg) installer (for NodeJS apps) How to create an Ubuntu (deb) installer (for NodeJS apps) How to create a Windows (InnoSetup exe) installer (for NodeJS apps) Why pkg? Because it's legit! When you want to deploy software on a user's system, you want to trust you. Althoug
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く