タグ

node.jsに関するkiririmodeのブックマーク (29)

  • Pagefind | Pagefind — Static low-bandwidth search at scale

    Pagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure. Pagefind runs after Hugo, Eleventy, Jekyll, Next, Astro, SvelteKit, or any other website framework. The installation process is always the same: Pagefind only requires a folder containing the built static files of yo

    Pagefind | Pagefind — Static low-bandwidth search at scale
    kiririmode
    kiririmode 2024/01/04
    静的サイトジェネレータ等で作成したページをインデクス化し高速・軽量に検索できるようにするモジュール
  • Node v20.6.0 (Current) | Node.js

    Notable changes built-in .env file support Starting from Node.js v20.6.0, Node.js supports .env files for configuring environment variables. Your configuration file should follow the INI file format, with each line containing a key-value pair for an environment variable. To initialize your Node.js application with predefined configurations, use the following CLI command: node --env-file=config.env

    Node v20.6.0 (Current) | Node.js
    kiririmode
    kiririmode 2023/09/05
    .envのビルトインサポート
  • GitHub - brianc/node-pg-types: Type parsing for node-postgres

    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.

    GitHub - brianc/node-pg-types: Type parsing for node-postgres
    kiririmode
    kiririmode 2022/10/13
    node-postgresを使う場合、postgres のデータ型と JS のパーサ関数をoid 指定でマッピングさせることでJS側で適切な型を利用できる
  • CI/CDでnpm ciする際は ~/.npm をキャッシュしよう | DevelopersIO


    GitHubAcitionsnpmci使  node_modules  - name: Cache Node modules uses: actions/cache@v2 with: path: hoge/node_modules key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }} - name: Build hoge run: | npm ci npm run build working-directory: hoge 調npmci ~/.npm
    CI/CDでnpm ciする際は ~/.npm をキャッシュしよう | DevelopersIO
    kiririmode
    kiririmode 2021/07/03
    nodeではnode_modulesをcacheしてもバージョンロックが厳密にできない
  • docker-node/docs/BestPractices.md at main · nodejs/docker-node

    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

    docker-node/docs/BestPractices.md at main · nodejs/docker-node
    kiririmode
    kiririmode 2021/03/27
    nodeはPID 1で動くように設計されてない
  • package.json dependencies メンテの仕方 最短ルート - Qiita


    package.json  dependencies  npm install GitHub  security alert package.json  dependencies  Node.js 使 package.json package.json  dependencies scripts  dependencies npm instal
    package.json dependencies メンテの仕方 最短ルート - Qiita
  • [Discussion] Requiring Native Modules in the Renderer Process to be NAPI or Context Aware · Issue #18397 · electron/electron

    kiririmode
    kiririmode 2019/12/13
    renderer process から呼び出せる native module は、context-aware なモジュールじゃないといけなくなる ?
  • https://github.com/mysticatea/npm-run-all/blob/master/README.md

    kiririmode
    kiririmode 2019/02/07
    npm script をシリアル、パラレルで起動できる。プロジェクトで教えてもらった。プレースホルダ使えるのオシャレ
  • node.js と thread hog の話(3)


    [] node.js  thread hog 1 node.js  thread hog 2  HTTP Server  c10k thread hog  90CPUMHzGHzCPU  CPUthread  thread  2MB8MB 
  • node.js で人気のあるライブラリ10選 - tokuhirom's blog

    node.js というか npm で依存されているライブラリの上位10個ぐらいがどういうものがはいっているのかをまとめます! 具体的には serach.npmjs.org の Most depends on にのっているリストに註釈をつけただけです! http://search.npmjs.org/ 1位 underscore.js 392個http://search.npmjs.org/#/underscore クライアントサイド JS で人気のたかいユーティリティーライブラリの underscore.js が堂々の第1位。 クライアントサイドでつかってるからそのままつかってる人が多いのかな、とおもっています。

  • Node.jsはソフトウェアの癌になる。 - from scratch

    eBayのテクニカルスタッフであるTed Dziubaから衝撃的な記事が出たので、読んでしまいました。 Node.js is Cancer 要点を訳すと下記のような感じです。 Node.jsがスケーラブルであるというのは嘘。 Nodeの運用が難しい。 やっぱりJavaScriptってWebアプリのロジックを書くのに向いてない。 Node.jsがスケーラブルであるというのは嘘であるについて Nodeのサイトには下記のように記載されています。 Almost no function in Node directly performs I/O, so the process never blocks. Because nothing blocks, less-than-expert programmers are able to develop fast systems. Node内のほとんどのf

    Node.jsはソフトウェアの癌になる。 - from scratch
  • Node.jsに強烈に個性的な「SocketStream」が登場!:Rails Hub情報局:エンジニアライフ


    1Node.jsWebSocketStream623Hacker News@makoto_inoueGitHub0.1 SocketStreamNode.jsWeb1 WebSocketSPASingle Page ApplicationSPA1HTML
    Node.jsに強烈に個性的な「SocketStream」が登場!:Rails Hub情報局:エンジニアライフ
  • Node.jsとCommonJSについて - 自分の感受性くらい


    8JavaScriptNode.js  8JavaScriptNode.jsWindows使npm使Node.jsAPICommonJS #nodejs_jp 2011-06-26 13:43:59 via web *1Node.jsCommonJSModule 1.0Unit Testing 1.0http://wiki.commonjs.org/wiki/CommonJS#ImplementationsNode.js
  • Node におけるスケールアーキテクチャ考察(SSP 編) - Block Rockin’ Codes


       Node     OS  Node    WebSocket  
    Node におけるスケールアーキテクチャ考察(SSP 編) - Block Rockin’ Codes
  • Node におけるスケールアーキテクチャ考察(Scale 編) - Block Rockin’ Codes


    []  Node  Node  Node   Node (SSP ) - Block Rockin Codes  調 調  SSP  Nod
    Node におけるスケールアーキテクチャ考察(Scale 編) - Block Rockin’ Codes
  • 注目のクラウド環境dotcloudでnode.js+expressを動かしてみたよ。 - 小さい頃はエラ呼吸

    はじめに dotcloudという今注目を集めているPaasクラウドのdotcloudでnode.js+expressを動かしてみました。このエントリでは、node.jsを動かすことができるクラウド環境dotcloudでnode.js + expressフレームワークを動かす方法について書いています。 前回のエントリからの続きとなっているので、はじめての方は前回のエントリから参照してください。 Nodeが動くクラウド環境dotcloudでnode.jsを動かしてみたよ。 - 大人になったら肺呼吸 ソフトウェアのバージョン Mac OS X 10.6.7 node.js 0.4.2 npm 1.0.9-1 express 2.3.10 事前準備 1.クライアントにnode.jsをインストールをします。 wget http://nodejs.org/dist/node-v0.4.2.tar.gz

    注目のクラウド環境dotcloudでnode.js+expressを動かしてみたよ。 - 小さい頃はエラ呼吸
  • サーバサイドJavaScriptの本命「node.js」の基礎知識


    3/4 稿Node.js1000Node Node.js 0.4 稿Ubuntu 10.10Node.js v0.4.0 Node.js
    サーバサイドJavaScriptの本命「node.js」の基礎知識
  • IBM Developer

    IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.

    IBM Developer
  • Nodeアプリの設定系モジュールいろいろ - すぎゃーんメモ


    Node(node.js)webDBSession keysalt, OAuthsecret_key   npm 調6使 cjson config confu jsonconfig nconf node-config cjson JSON使 /* * This is my app configuration
    Nodeアプリの設定系モジュールいろいろ - すぎゃーんメモ
  • naveでNode.jsのバージョン管理&イベントループ詳説


    naveNode.jsnode.jsJavaScript21/3   JavaScriptnode.jsTwitterNode.js1000  nave Node.js Node.jsnpmnode package manager
    naveでNode.jsのバージョン管理&イベントループ詳説