- GRPC has libraries in C, C++, Java, Go, Node.js, Python, Ruby, Objective-C, PHP and C#.
- Define services using Protocol Buffers.
Tag: node.js
Node Version Manager: Manage multiple active node.js versions
https://github.com/creationix/nvm ᔥ
Commands
$ nvm [tab][tab]
alias deactivate install ls run unload
clear-cache exec list ls-remote unalias use
current help list-remote reinstall-packages uninstall version
Two Microsoft Windows alternatives:
- nvmw – Requires Python and Git
- nvm-windows – Written in Go. Installer available.
Link: Node.js in Flames – Netflix Blog post about using Flame graphs to troubleshoot a performance issue
mermaid: Generate flowcharts and diagrams from text using Node.js
https://github.com/knsv/mermaid ᔥ
Now ya’ll know I love me some Markdown, and while this isn’t quite a pretty to read in text format as Markdown is, mermaid scratches a similar itch for me. It provides a way to represent flowcharts and diagrams using text, making it easy to easily store and compare them in your source control repository.
Example
graph LR;
A[Hard edge]-->|Link text|B(Round edge);
B-->C{Decision};
C-->|One|D[Result one];
C-->|Two|E[Result two];
Additional examples here: http://www.sveido.com/mermaid/demo/html/web.html
Browserify: Tool that allows you to bundle Node.js NPM modules for use in the browser
Browserify Handbook: https://github.com/substack/browserify-handbook
Don’t snooze on the Browserify Mascot! He’s up there with the Go Gopher! Hadouken!
Immutable.js: Immutable collections for JavaScript
Pageres: Node.js command line tool to capture screenshots of websites in various resolutions
Slap: Node.js terminal-based text editor designed to be like Sublime Text
ZeroRPC: Lightweight RPC library built on ZeroMQ & MessagePack with Node.js, Python, & command line clients
ZeroRPC is a light-weight, reliable and language-agnostic library for distributed communication between server-side processes. It builds on top of ZeroMQ and MessagePack. Support for streamed responses – similar to python generators – makes ZeroRPC more than a typical RPC engine. Built-in heartbeats and timeouts detect and recover from failed requests. Introspective capabilities, first-class exceptions and the command-line utility make debugging easy. ZeroRPC powers the infrastructure behind dotCloud.
highlight.js: JavaScript syntax highlighting library with automatic language detection and support for 86 languages
From the highlight.js home page:
- 86 languages and 49 styles
- automatic language detection
- multi-language code highlighting
- available for node.js
- works with any markup
- compatible with any js framework