background preloader

Nodejs

Facebook Twitter

Prettyjson - Node.js package for formatting JSON data in a coloured YAML-style, perfect for CLI output - UX. Package for formatting JSON data in a coloured YAML-style, perfect for CLI output. How to install Just install it via NPM: Using it (from the CLI) This package installs a command line interface to render JSON data in a more convenient way.

You can use the CLI in three different ways: Decode a JSON file: If you want to see the contents of a JSON file, just pass it as the first argument to the CLI: $ prettyjson package.json Decode the stdin: You can also pipe the result of a command (for example an HTTP request) to the CLI to see the JSON result in a clearer way: $ curl | prettyjson Decode random strings: if you call the CLI with no arguments, you'll get a prompt where you can past JSON strings and they'll be automatically displayed in a clearer way: If you install the package globally (with npm install -g prettyjson), the CLI will be installed automatically in your PATH thanks to npm. Command line options Using it (from Node.js) It's pretty easy to use it.

Kkaefer/node-cpp-modules - UX. Nodeca/mincer - UX. UX. Nodetime - Performance Profiler for Node.js - UX. 3on/scrap.js. LearnBoost/console-trace - UX. Baryon/tracer - UX. Table of Contents - Mixu's Node book - Mixu's Node book - UX. Fent/node-kat - UX. Benvie/view-buffer - UX. Benvie/reified - UX. Baudehlo's gist: 1996244 — Gist - UX. Polotek/procstreams - UX. Xk/node-threads-a-gogo - UX.

Benvie/Node.js-Ultra-REPL - UX. Veged/coa - UX.

Auth

Vdemedes/magician. Bus. Email. Pkrumins/node-lazy. Bramstein/bit-array. Fent/clusterhub. Substack/bouncy. Kumatch/node-satisfic.