You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
{ "forbidden": [ { "name": "not-to-test", "comment": "Don't allow dependencies from outside the test folder to test", "severity": "error", "from": { "pathNot": "^(test|spec)" }, "to": { "path": "^(test|spec)" } }, { "name": "not-to-spec", "comment": "Don't allow dependencies to (typescript/ javascript/ coffeescript) spec files", "severity": "error", "from": {}, "to": { "path": "\\.spec\\.(js|ts|ls
昨日はいろいろと忙しくブログを書けませんでした😥 本日はJSONの差分をいろいろと見たので、その際に使ったテクの共有をば。 jsondiffpatch コレ。 github.com 便利です。 CLIとして使うなら インストールして npm i -g jsondiffpatch このJSONに対して // a.json { "hoge": 1, "fuga": 2 } // b.json { "hoge": 2, "fuga": 3 } 実行 jsondiffpatch a.json b.json 結果がコレ コード内で使う 'use strict'; const jsondiffpatch = require('jsondiffpatch'); const a = require('./a.json'); const b = require('./b.json'); const dif
ppp という, Node.js のパッケージ情報を表示するコマンドラインツールを作ったのでそのご紹介です. github.com それ npm view で良いじゃん, とか, 前も似たようなの作っていなかった? などと思った方もおられると思いますが, 新しく作ったのにはちゃんと理由がありますので, まずはお読みください... 背景 世の中には OS / プログラミング言語ごとに様々なパッケージマネージャがありますが, これらには大体 info サブコマンドのような機能があって, パッケージの情報を表示することができます. 例としていくつか挙げるとこんな感じです: Homebrew $ brew info node node: stable 11.7.0 (bottled), HEAD Platform built on V8 to build network applications
はじめに# タイトルにある通り、scaffdog という scaffolding のためのツールを作りました。Node.js で書いています。 scaffdog https://github.com/cats-oss/scaffdog スカーフを巻いた犬がロゴ... Markdown で記載されたテンプレートに従ってファイルを生成するものとなっています。 具体的には次のようなテンプレートです。 --- name: 'component' description: 'Generate standard React component.' message: 'Please enter component name.' root: 'src' output: '**/*' ignore: [] --- # `{{ input | pascal }}/index.js` ```javascript
Welcome to JSNice — we make even obfuscated JavaScript code readable. We will rename variables and parameters to names that we learn from thousands of open source projects. Furthermore, often we are also able to guess or infer type annotations. Try JSNice on your JavaScript code to see how it works! Override the names suggested by JSNice (by enabling "interactive renames" in settings). Click to le
codemirror-consoleというJavaScriptのコード例をその場で編集したり、実行して評価結果をだせるようにするライブラリを作りました。 書籍などのサンプルコードをユーザーに実行してもらったり、編集して動作を確認してもらいながら理解する用途で作ったものです azu/codemirror-console: Web Console UI for JavaScript. 実際に動いてる例としては、JavaScript Promiseの本やJavaScriptの入門書 #jsprimerで見れます。 あと、GitBookで動いてるサンプルは次のページで見れます。 https://codemirror-console.netlify.com/ codemirror-consoleはmonorepoになっていてコアライブラリやGitBook向けのプラグインなどが入っています。 名前のと
Google Chrome Labsがオープンソースの画像圧縮Webアプリ「Squoosh!」を公開しています。詳細は以下から。 Google Chrome LabsのJake Archibaldさんは現地時間2018年11月12日、Googleが開発している画像フォーマット「WebP」にも対応したWebベースの画像圧縮ツール「Squoosh」を新たに公開したと発表しています。 Squoosh! Squoosh is an image compression web app that allows you to dive into the advanced options provided by various image compressors. Squoosh – Squoosh Squooshの使い方 SquooshはWebベースのアプリですが、Google Analyticsおよび
As the world’s largest domain registrar with over 20 million customers, GoDaddy manages more than 84 million domains, offering a robust platform with 24/7 customer support and a wide range of TLDs. Its user-friendly interface and comprehensive services, including hosting and website builders, make it ideal for businesses seeking an all-in-one solution. Price 100 USD Auction Type GoDaddy Buy Now Go
A tool for visualizing Execution Context, Hoisting, Closures, and Scopes in JavaScript.
TL;DL モバイル環境からmをドメインの先頭に追加してアクセスすると良い感じにスライドが閲覧できます。 例) https://speakerdeck.com/qrush/the-graphql-way-a-new-path-for-json-apis ↓ https://mspeakerdeck.com/qrush/the-graphql-way-a-new-path-for-json-apis 概要 Speaker Deckはスライドを共有するサービスです。 特に大きなカンファレンスが開催された後はたくさんの発表資料がこのサービスにアップロードされるのでよく閲覧します。 Speaker Deckは、PCで閲覧する分には特に問題はないです。 しかしモバイル環境で閲覧すると少し残念です。 なぜならSpeaker DeckにはPC用のレイアウトしか存在しないからです。 通勤中にTwitter
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く